zeppelin-mongodb-interpreter icon indicating copy to clipboard operation
zeppelin-mongodb-interpreter copied to clipboard

mongodb couldnt find in the interpreter list.

Open okrdnz opened this issue 7 years ago • 11 comments

i am using hdp with zeppelin 0.6. I configured mongo interpreter with your config. Zeppelin takes arguments from hdp by default. Why i cant see mongo interpreter in the interpreter list.attached the files that i updated. i cant see any logs about mongo interpreter also.

InterpreterFactory.java[init]:111) - Rea ding /usr/hdp/current/zeppelin-server/lib/interpreter/spark INFO [2017-11-16 13:38:36,968] ({main} InterpreterFactory.java[init]:128) - Int erpreter spark.spark found. class=org.apache.zeppelin.spark.SparkInterpreter INFO [2017-11-16 13:38:37,560] ({main} InterpreterFactory.java[init]:128) - Int erpreter spark.pyspark found. class=org.apache.zeppelin.spark.PySparkInterpreter

screen4 screen3 screen2

screen

okrdnz avatar Nov 16 '17 14:11 okrdnz

same issue on 0.7.0 verison

AlexFlanker avatar Jul 09 '18 16:07 AlexFlanker

Have you tried without updating the zeppelin-site.xml ? Now, you just have to create the directory interpreter/mongodb and copy the interpreted jar in the this directory. Automatically, after a restart, zeppelin is able to discover the new interpreter.

bbonnin avatar Jul 16 '18 09:07 bbonnin

just redownloaded zeppelin-0.7.0 and create interpreter/mongodb and paste that jar file to the directory and the start local-host:8080, still can't find mongodb interpreter.

AlexFlanker avatar Jul 16 '18 16:07 AlexFlanker

Have you renamed the file that I provide in the release page (from zeppelin-mongodb-0.7.0.zip to zeppelin-mongodb-0.7.0.jar) ?

bbonnin avatar Jul 16 '18 16:07 bbonnin

Yes, zeppelin-mongodb-0.7.0.jar

AlexFlanker avatar Jul 16 '18 16:07 AlexFlanker

In such a case, there is another way to get the interpreter:

  • go to the interpreters page
  • create a new interpreter: you should have mongodb in the interpreter group
  • set the name of the interpreter (mongodb is a good one :-)) And it should work.

capture d ecran 2018-07-16 a 20 35 58

bbonnin avatar Jul 16 '18 18:07 bbonnin

no mongodb in group list

AlexFlanker avatar Jul 16 '18 22:07 AlexFlanker

I have tested again with a fresh rebuilt of zeppelin 0.7.0, and it works. Maybe you have some errors in your logs ?

bbonnin avatar Jul 19 '18 14:07 bbonnin

using zeppelin 0.8.0 on ubuntu 18 i got this problem : i have to create the interpreter because i cannot see it in the list, but when creating it, i cannot edit the field : capture d ecran 2018-10-12 a 12 02 35

any idea ?

I try all the tips you already give in this thread without success.

yanngv29 avatar Oct 12 '18 10:10 yanngv29

I think you must create all configuration manually and delete replicate name using action

chaoukiiiii avatar Oct 12 '18 12:10 chaoukiiiii

OK i have directly modify the interpreter/mongodb/zeppelin-mongodb-0.7.0.jar , by changing the file interpreter-setting.json .

After a zeppelin restart, i create the mongodb interpreter, i use it once, and now i can edit the field !

Great ! Thank you for all the work.

yanngv29 avatar Oct 15 '18 13:10 yanngv29