<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Null pointer exception when installing shell interpreter for zeppelin in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Null-pointer-exception-when-installing-shell-interpreter-for/m-p/237358#M199171</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/112427/wi16b087.html"&gt;@Alessandro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As we see the following error while installing the SHELL interpreter.&lt;/P&gt;&lt;PRE&gt;&lt;P&gt;org.sonatype.aether.RepositoryException: Cannot fetch dependencies for org.apache.zeppelin:zeppelin-shell:0.8.0
&amp;nbsp; &amp;nbsp; at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:179)
.
.
Caused by: java.lang.NullPointerException
&amp;nbsp; &amp;nbsp; at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:352)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;This can happen if you do not have internet access (or if you have soem n/w issue_ on the Zeppelin server host. Can you please isolate that?&lt;/P&gt;&lt;P&gt;You can also refer to the following article for similar issues: &lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="https://community.hortonworks.com/content/kbentry/84498/zeppelin-does-not-get-installed-properly-without-i.html" target="_blank"&gt;https://community.hortonworks.com/content/kbentry/84498/zeppelin-does-not-get-installed-properly-without-i.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Basically We need to have the dependenices (jars) under &lt;STRONG&gt;"/usr/hdp/current/zeppelin-server/local-repo"&lt;/STRONG&gt;  and the interpreters inside the&lt;STRONG&gt; "/usr/hdp/current/zeppelin-server/interpreter/" &lt;/STRONG&gt;dir if he interpreter installation is successful without internet issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2019 05:38:52 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2019-04-02T05:38:52Z</dc:date>
    <item>
      <title>Null pointer exception when installing shell interpreter for zeppelin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Null-pointer-exception-when-installing-shell-interpreter-for/m-p/237356#M199169</link>
      <description>&lt;P&gt;While trying to install the shell interpreter for zeppelin (v 0.8.0), I fail with this message:&lt;/P&gt;&lt;PRE&gt;# sudo /usr/hdp/current/zeppelin-server/bin/install-interpreter.sh --name shell
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.0.1.0-187/zeppelin/lib/interpreter/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/3.0.1.0-187/zeppelin/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/3.0.1.0-187/zeppelin/lib/slf4j-simple-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; 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/current/zeppelin-server/interpreter/shell ...&amp;nbsp;
org.sonatype.aether.RepositoryException: Cannot fetch dependencies for org.apache.zeppelin:zeppelin-shell:0.8.0
&amp;nbsp; &amp;nbsp; at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:179)
&amp;nbsp; &amp;nbsp; at org.apache.zeppelin.dep.DependencyResolver.loadFromMvn(DependencyResolver.java:128)
&amp;nbsp; &amp;nbsp; at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:76)
&amp;nbsp; &amp;nbsp; at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:93)
&amp;nbsp; &amp;nbsp; at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:85)
&amp;nbsp; &amp;nbsp; at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:170)
&amp;nbsp; &amp;nbsp; at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:134)
&amp;nbsp; &amp;nbsp; at org.apache.zeppelin.interpreter.install.InstallInterpreter.install(InstallInterpreter.java:126)
&amp;nbsp; &amp;nbsp; at org.apache.zeppelin.interpreter.install.InstallInterpreter.main(InstallInterpreter.java:278)
Caused by: java.lang.NullPointerException
&amp;nbsp; &amp;nbsp; at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:352)
&amp;nbsp; &amp;nbsp; at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:176)
&amp;nbsp; &amp;nbsp; ... 8 more&lt;/PRE&gt;&lt;P&gt;I use HDP 3.0.1&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 03:43:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Null-pointer-exception-when-installing-shell-interpreter-for/m-p/237356#M199169</guid>
      <dc:creator>wi16b087</dc:creator>
      <dc:date>2019-04-02T03:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception when installing shell interpreter for zeppelin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Null-pointer-exception-when-installing-shell-interpreter-for/m-p/237357#M199170</link>
      <description>&lt;P&gt;I found a workaround by installing it locally: I downloaded the JARs from Maven: &lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="https://mvnrepository.com/artifact/org.apache.zeppelin/zeppelin-shell/0.8.0" target="_blank"&gt;https://mvnrepository.com/artifact/org.apache.zeppelin/zeppelin-shell/0.8.0&lt;/A&gt; and passed it as argument artifact. This worked: &lt;/P&gt;&lt;PRE&gt;# /usr/hdp/current/zeppelin-server/bin/install-interpreter.sh --name shell --artifact /var/tmp/zeppelin-jar/zeppelin-shell-0.8.0.jar&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Apr 2019 03:43:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Null-pointer-exception-when-installing-shell-interpreter-for/m-p/237357#M199170</guid>
      <dc:creator>wi16b087</dc:creator>
      <dc:date>2019-04-02T03:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception when installing shell interpreter for zeppelin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Null-pointer-exception-when-installing-shell-interpreter-for/m-p/237358#M199171</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/112427/wi16b087.html"&gt;@Alessandro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As we see the following error while installing the SHELL interpreter.&lt;/P&gt;&lt;PRE&gt;&lt;P&gt;org.sonatype.aether.RepositoryException: Cannot fetch dependencies for org.apache.zeppelin:zeppelin-shell:0.8.0
&amp;nbsp; &amp;nbsp; at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:179)
.
.
Caused by: java.lang.NullPointerException
&amp;nbsp; &amp;nbsp; at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:352)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;This can happen if you do not have internet access (or if you have soem n/w issue_ on the Zeppelin server host. Can you please isolate that?&lt;/P&gt;&lt;P&gt;You can also refer to the following article for similar issues: &lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="https://community.hortonworks.com/content/kbentry/84498/zeppelin-does-not-get-installed-properly-without-i.html" target="_blank"&gt;https://community.hortonworks.com/content/kbentry/84498/zeppelin-does-not-get-installed-properly-without-i.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Basically We need to have the dependenices (jars) under &lt;STRONG&gt;"/usr/hdp/current/zeppelin-server/local-repo"&lt;/STRONG&gt;  and the interpreters inside the&lt;STRONG&gt; "/usr/hdp/current/zeppelin-server/interpreter/" &lt;/STRONG&gt;dir if he interpreter installation is successful without internet issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 05:38:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Null-pointer-exception-when-installing-shell-interpreter-for/m-p/237358#M199171</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-04-02T05:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Null pointer exception when installing shell interpreter for zeppelin</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Null-pointer-exception-when-installing-shell-interpreter-for/m-p/237359#M199172</link>
      <description>&lt;P&gt;Thank you, indeed it was an internet issue, changing the dns resolver in "/etc/resolv.conf" worked. default was 127.0.0.11, but this kept spitting errors, changing it to 8.8.8.8 worked. not sure why though.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 15:49:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Null-pointer-exception-when-installing-shell-interpreter-for/m-p/237359#M199172</guid>
      <dc:creator>wi16b087</dc:creator>
      <dc:date>2019-04-02T15:49:26Z</dc:date>
    </item>
  </channel>
</rss>

