You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Panchappanavar, Naveenakumar Gurushantap (Nokia - IN/Bangalore)" <na...@nokia.com> on 2018/05/17 12:43:18 UTC

zeppelin start is failing on zeppelin v0.8.0-rc2

Hi All,

We have cloned the source code https://github.com/apache/zeppelin/archive/v0.8.0-rc2.tar.gz from this uri built the source code after generating zeppelin tar ball.

When we are issuing the command to start zeppelin server bin/zeppelin.sh start

We are getting the following exception while starting the zeppelin server itself.

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/zeppelin0.8/zeppelin-0.8.0/lib/interpreter/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/zeppelin0.8/zeppelin-0.8.0/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]
Exception in thread "main" java.lang.ExceptionInInitializerError
              at org.apache.zeppelin.conf.ZeppelinConfiguration.create(ZeppelinConfiguration.java:136)
              at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:169)
Caused by: java.lang.NullPointerException
              at java.util.Properties$LineReader.readLine(Properties.java:434)
              at java.util.Properties.load0(Properties.java:353)
              at java.util.Properties.load(Properties.java:341)
              at org.apache.zeppelin.util.Util.<clinit>(Util.java:41)
              ... 2 more


We set the spark home in zeppelin-env.sh as well.

Regards
Naveen


RE: zeppelin start is failing on zeppelin v0.8.0-rc2

Posted by "Panchappanavar, Naveenakumar Gurushantap (Nokia - IN/Bangalore)" <na...@nokia.com>.
Hi Zhang,

We took the source code from the given link and built the same.

Its working properly, zeppelin server is able to start without any issues.

Thanks again for all your help and sharing the information.

Regards
Naveen

-----Original Message-----
From: Jeff Zhang [mailto:zjffdu@gmail.com] 
Sent: Thursday, May 17, 2018 7:14 PM
To: dev@zeppelin.apache.org
Subject: Re: zeppelin start is failing on zeppelin v0.8.0-rc2

This is because there's no .git folder in this tar file. You can use the
rc2 source code in
https://dist.apache.org/repos/dist/dev/zeppelin/zeppelin-0.8.0-rc2/


Panchappanavar, Naveenakumar Gurushantap (Nokia - IN/Bangalore) <
naveenakumar_gurushantap.panchappanavar@nokia.com>于2018年5月17日周四 下午8:47写道:

> The mvn command used to build the source code is
>
> mvn clean install -DskipTests -Drat.skip=true -Pspark-2.2 -Phadoop2
> -Pscala-2.11
>
> we will try with without profiles and get back.
>
> Regards
> Naveen
>
>
> From: Panchappanavar, Naveenakumar Gurushantap (Nokia - IN/Bangalore)
> Sent: Thursday, May 17, 2018 6:13 PM
> To: dev@zeppelin.apache.org
> Subject: zeppelin start is failing on zeppelin v0.8.0-rc2
>
> Hi All,
>
> We have cloned the source code
> https://github.com/apache/zeppelin/archive/v0.8.0-rc2.tar.gz from this 
> uri built the source code after generating zeppelin tar ball.
>
> When we are issuing the command to start zeppelin server 
> bin/zeppelin.sh start
>
> We are getting the following exception while starting the zeppelin 
> server itself.
>
> 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/zeppelin0.8/zeppelin-0.8.0/lib/interpreter/slf4j-log4j1
> 2-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/opt/zeppelin0.8/zeppelin-0.8.0/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]
> Exception in thread "main" java.lang.ExceptionInInitializerError
>               at
> org.apache.zeppelin.conf.ZeppelinConfiguration.create(ZeppelinConfiguration.java:136)
>               at
> org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:169
> ) Caused by: java.lang.NullPointerException
>               at
> java.util.Properties$LineReader.readLine(Properties.java:434)
>               at java.util.Properties.load0(Properties.java:353)
>               at java.util.Properties.load(Properties.java:341)
>               at org.apache.zeppelin.util.Util.<clinit>(Util.java:41)
>               ... 2 more
>
>
> We set the spark home in zeppelin-env.sh as well.
>
> Regards
> Naveen
>
>

Re: zeppelin start is failing on zeppelin v0.8.0-rc2

Posted by Jeff Zhang <zj...@gmail.com>.
This is because there's no .git folder in this tar file. You can use the
rc2 source code in
https://dist.apache.org/repos/dist/dev/zeppelin/zeppelin-0.8.0-rc2/


Panchappanavar, Naveenakumar Gurushantap (Nokia - IN/Bangalore) <
naveenakumar_gurushantap.panchappanavar@nokia.com>于2018年5月17日周四 下午8:47写道:

> The mvn command used to build the source code is
>
> mvn clean install -DskipTests -Drat.skip=true -Pspark-2.2 -Phadoop2
> -Pscala-2.11
>
> we will try with without profiles and get back.
>
> Regards
> Naveen
>
>
> From: Panchappanavar, Naveenakumar Gurushantap (Nokia - IN/Bangalore)
> Sent: Thursday, May 17, 2018 6:13 PM
> To: dev@zeppelin.apache.org
> Subject: zeppelin start is failing on zeppelin v0.8.0-rc2
>
> Hi All,
>
> We have cloned the source code
> https://github.com/apache/zeppelin/archive/v0.8.0-rc2.tar.gz from this
> uri built the source code after generating zeppelin tar ball.
>
> When we are issuing the command to start zeppelin server bin/zeppelin.sh
> start
>
> We are getting the following exception while starting the zeppelin server
> itself.
>
> 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/zeppelin0.8/zeppelin-0.8.0/lib/interpreter/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/opt/zeppelin0.8/zeppelin-0.8.0/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]
> Exception in thread "main" java.lang.ExceptionInInitializerError
>               at
> org.apache.zeppelin.conf.ZeppelinConfiguration.create(ZeppelinConfiguration.java:136)
>               at
> org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:169)
> Caused by: java.lang.NullPointerException
>               at
> java.util.Properties$LineReader.readLine(Properties.java:434)
>               at java.util.Properties.load0(Properties.java:353)
>               at java.util.Properties.load(Properties.java:341)
>               at org.apache.zeppelin.util.Util.<clinit>(Util.java:41)
>               ... 2 more
>
>
> We set the spark home in zeppelin-env.sh as well.
>
> Regards
> Naveen
>
>

RE: zeppelin start is failing on zeppelin v0.8.0-rc2

Posted by "Panchappanavar, Naveenakumar Gurushantap (Nokia - IN/Bangalore)" <na...@nokia.com>.
The mvn command used to build the source code is

mvn clean install -DskipTests -Drat.skip=true -Pspark-2.2 -Phadoop2  -Pscala-2.11

we will try with without profiles and get back.

Regards
Naveen


From: Panchappanavar, Naveenakumar Gurushantap (Nokia - IN/Bangalore)
Sent: Thursday, May 17, 2018 6:13 PM
To: dev@zeppelin.apache.org
Subject: zeppelin start is failing on zeppelin v0.8.0-rc2

Hi All,

We have cloned the source code https://github.com/apache/zeppelin/archive/v0.8.0-rc2.tar.gz from this uri built the source code after generating zeppelin tar ball.

When we are issuing the command to start zeppelin server bin/zeppelin.sh start

We are getting the following exception while starting the zeppelin server itself.

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/zeppelin0.8/zeppelin-0.8.0/lib/interpreter/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/zeppelin0.8/zeppelin-0.8.0/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]
Exception in thread "main" java.lang.ExceptionInInitializerError
              at org.apache.zeppelin.conf.ZeppelinConfiguration.create(ZeppelinConfiguration.java:136)
              at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:169)
Caused by: java.lang.NullPointerException
              at java.util.Properties$LineReader.readLine(Properties.java:434)
              at java.util.Properties.load0(Properties.java:353)
              at java.util.Properties.load(Properties.java:341)
              at org.apache.zeppelin.util.Util.<clinit>(Util.java:41)
              ... 2 more


We set the spark home in zeppelin-env.sh as well.

Regards
Naveen