Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

zeppelin - error installing python interpreter by command line

avatar
Rising Star

hello cloudera community,

 

we are having problem installing python interpreter on zeppelin

 

when running the command:

 

install-interpreter.sh --name python

 

loads the following information:

 

OpenJDK 64-bit server VM warning: ignoring MaxPermSize=512m option; support was removed in 8.0
SLF4J: The classpath contains multiple SLF4J bindings.
SLF4J: Link found in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/slf4j-log4j12-1.7.30.jar!/org/slf4j/ impl/StaticLoggerBinder.class]
SLF4J: Link found in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/slf4j-simple-1.7.30.jar!/org/slf4j/ impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: The actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Install python(org.apache.zeppelin:zeppelin-python:0.8.0) in /opt/cloudera/parcels/CDH/lib/zeppelin/interpreter/python ...

 

stays at this message for almost 2 minutes and returns with the error:

 

OpenJDK 64-bit server VM warning: ignoring MaxPermSize=512m option; support was removed in 8.0
SLF4J: The classpath contains multiple SLF4J bindings.
SLF4J: Link found in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/slf4j-log4j12-1.7.30.jar!/org/slf4j/ impl/StaticLoggerBinder.class]
SLF4J: Link found in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/slf4j-simple-1.7.30.jar!/org/slf4j/ impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: The actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Install python(org.apache.zeppelin:zeppelin-python:0.8.0) in /opt/cloudera/parcels/CDH/lib/zeppelin/interpreter/python ...
org.sonatype.aether.RepositoryException: Unable to fetch dependencies for org.apache.zeppelin:zeppelin-python:0.8.0
in org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:179)
in org.apache.zeppelin.dep.DependencyResolver.loadFromMvn(DependencyResolver.java:128)
in org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:76)
in org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:93)
in org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:85)
in org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:170)
in org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:134)
in org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:126)
in org.apache.zeppelin.interpreter.install.InstallInterpreter.main(InstallInterpreter.java:278)
Caused by: java.lang.NullPointerException
in org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:352)
in org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:176)
... more 8

 

can help us solve this problem?

 

PS: zeppelin was installed by cloudera manager, version 7.6x, cdp version 7.1.x

2 REPLIES 2

avatar

@yagoaparecidoti I think it's unlikely. By consulting this page:

Configuring and Using Zeppelin Interpreters

You can see a list of Zeppelin interpreters currently supported on Cloudera Data Platform. The python interpreter you are attempting to install is not one of them. This may be resolved in a subsequent release of CDP, but the version you are running now isn't able to fetch dependencies for that interpreter because they aren't available.

 

 

Bill Brooks, Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
Rising Star

hi @ask_bill_brooks 

 

when I run the command to list the interpreters available for zeppelin, the list returns that python is supported.

 

I run the command:

 

install-interpreter.sh --list

 

and returns the following:

 

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p1000.24102687/jars/slf4j-simple-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
alluxio Alluxio interpreter
angular HTML and AngularJS view rendering
beam Beam interpreter
bigquery BigQuery interpreter
cassandra Cassandra interpreter built with Scala 2.11
elasticsearch Elasticsearch interpreter
file HDFS file interpreter
flink Flink interpreter built with Scala 2.11
hbase Hbase interpreter
ignite Ignite interpreter built with Scala 2.11
jdbc Jdbc interpreter
kylin Kylin interpreter
lens Lens interpreter
livy Livy interpreter
md Markdown support
pig Pig interpreter
python Python interpreter
scio Scio interpreter
shell Shell command

 

with this, I think it is possible to use the python interpreter.

 

the problem is that we are not able to make the python interpreter work.