Created 10-22-2020 06:34 PM
I have my HDP cluster set-up with Zeppelin. I'm trying to get a few more interpreters installed but I keep running into an error when I try.
I am behind a proxy, but I have my environment variables set per Zeppelin documentation and verified when I echo them.
My Maven central repo settings is:
http://insecure.repo1.maven.org/maven2/
I had no luck with the default central address or the HTTPS version.
Anyone run into this and found a work-around?
admin@tan1:/usr/hdp/3.1.4.0-315/zeppelin/bin$ sudo ./install-interpreter.sh --name shell,python
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:/usr/hdp/3.1.4.0-315/zeppelin/lib/interpreter/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/3.1.4.0-315/zeppelin/lib/slf4j-simple-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/3.1.4.0-315/zeppelin/lib/slf4j-log4j12-1.7.10.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]
Install shell(org.apache.zeppelin:zeppelin-shell:0.8.0) to /usr/hdp/3.1.4.0-315/zeppelin/interpreter/shell ...
org.sonatype.aether.RepositoryException: Cannot fetch dependencies for org.apache.zeppelin:zeppelin-shell:0.8.0
at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:179)
at org.apache.zeppelin.dep.DependencyResolver.loadFromMvn(DependencyResolver.java:128)
at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:76)
at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:93)
at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:85)
at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:170)
at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:134)
at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:126)
at org.apache.zeppelin.interpreter.install.InstallInterpreter.main(InstallInterpreter.java:278)
Caused by: java.lang.NullPointerException
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:352)
at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:176)
... 8 more
Install python(org.apache.zeppelin:zeppelin-python:0.8.0) to /usr/hdp/3.1.4.0-315/zeppelin/interpreter/python ...
org.sonatype.aether.RepositoryException: Cannot fetch dependencies for org.apache.zeppelin:zeppelin-python:0.8.0
at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:179)
at org.apache.zeppelin.dep.DependencyResolver.loadFromMvn(DependencyResolver.java:128)
at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:76)
at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:93)
at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:85)
at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:170)
at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:134)
at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:126)
at org.apache.zeppelin.interpreter.install.InstallInterpreter.main(InstallInterpreter.java:278)
Caused by: java.lang.NullPointerException
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:352)
at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:176)
... 8 more
Created 10-23-2020 05:37 AM
@BalrogBait Installing interpreter is failing as it is unable to connect to the internet
Follow the below steps to install an interpreter
- Downloaded the jars from the below link by selecting the correct zeppelin version :
https://mvnrepository.com/artifact/org.apache.zeppelin/zeppelin-python
- Create the directory structure and copy the required jars to the location:
# mkdir -p /usr/hdp/current/zeppelin-server/interpreter/python
#cd /usr/hdp/current/zeppelin-server/interpreter/python
- Copy the downloaded jar files to /usr/hdp/current/zeppelin-server/interpreter/python and set the permissions
#chown zeppelin:hadoop -R /usr/hdp/current/zeppelin-server/interpreter/python
- Restarted zeppelin and then create Python interpreter from the available interpreter groups