Hi,

Thanks a lot for your answer. I have Zeppeling working ok locally, which is
what I want for now. I just wanted to point out that I needed to add the
maven dependency below to zeppelin-server/pom.xml, or copy asm-3.3.1.jar to
zeppelin-server/target/lib for it to work, and it doesn't appear in the
documentation at
https://zeppelin.incubator.apache.org/docs/install/install.html. It looks
like a bug, I could open a Jira for this if you think it's worth.


<dependency>
    <groupId>asm</groupId>
    <artifactId>asm</artifactId>
    <version>3.3.1</version>
</dependency>


Greetings,

Juan


2015-05-06 6:36 GMT+02:00 moon soo Lee <m...@apache.org>:

> Hi,
>
> Could you build Zeppelin with spark-1.3 and hadoop-2.4 profile?
>
> mvn clean install -DskipTests -Pspark-1.3 -Dspark.version=1.3.1
> -Phadoop-2.4 -Dhadoop.version=2.4.0
>
> That might help run with Spark cluster.
>
> Thanks,
> moon
>
> On Mon, May 4, 2015 at 8:11 PM Juan Rodríguez Hortalá <
> juan.rodriguez.hort...@gmail.com> wrote:
>
>> Hi,
>>
>> I have tried to install Zeppelin following the guide at
>> https://zeppelin.incubator.apache.org/docs/install/install.html. The
>> build finishes ok but when I start Zeppelin the service at port 8080 is
>> down and I get the following message at logs/zeppelin*.log:
>>
>> WARN [2015-05-03 18:34:02,023] ({main}
>> AbstractLifeCycle.java[setFailed]:204) - FAILED
>> org.eclipse.jetty.server.Server@1b2c402: java.lang.NoClassDefFoundError:
>> org/objectweb/asm/ClassVisitor
>> java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor
>>     at
>> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:79)
>>     at
>> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>>     at
>> com.sun.jersey.api.core.PackagesResourceConfig.<init>(PackagesResourceConfig.java:78)
>>     at
>> com.sun.jersey.api.core.PackagesResourceConfig.<init>(PackagesResourceConfig.java:89)
>>     at
>> com.sun.jersey.spi.container.servlet.WebComponent.createResourceConfig(WebComponent.java:696)
>>     at
>> com.sun.jersey.spi.container.servlet.WebComponent.createResourceConfig(WebComponent.java:674)
>>     at
>> com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:205)
>>     at
>> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:376)
>>     at
>> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:559)
>>     at javax.servlet.GenericServlet.init(GenericServlet.java:161)
>>     at
>> org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532)
>>     at
>> org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:344)
>>     at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>     at
>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:791)
>>     at
>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>>     at
>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
>>     at
>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
>>     at
>> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
>>     at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>     at
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>>     at
>> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
>>     at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>     at
>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
>>     at org.eclipse.jetty.server.Server.doStart(Server.java:282)
>>     at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>>     at
>> org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:105)
>> Caused by: java.lang.ClassNotFoundException:
>> org.objectweb.asm.ClassVisitor
>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>     at java.security.AccessController.doPrivileged(Native Method)
>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>>     ... 26 more
>>
>> According to
>> http://stackoverflow.com/questions/17827442/jersey-noclassdeffounderror-org-objectweb-asm-classvisitor-exception
>> the solution is adding the dependence for asm to the pom. And in fact when
>> I add
>>
>> <dependency>
>>     <groupId>asm</groupId>
>>     <artifactId>asm</artifactId>
>>     <version>3.3.1</version>
>> </dependency>
>>
>> to zeppelin-server/pom.xml and compile with mvn clean install -DskipTests
>> then Zeppelin works ok. Maybe this is a bug? I'm using XUbuntu 14.10.
>>
>> On the other hand, it is possible to use the same installation in local
>> mode and cluster mode? Currently this works in local mode, but when I
>> compile with "mvn clean install -DskipTests -Dspark.version=1.3.1
>> -Dhadoop.version=2.4.0" it does't work anymore, even using "export
>> MASTER=local[5]" before "bin/zeppelin-daemon.sh start". By the way, has
>> anyone tried Zeppelin on a EMR yarn cluster?
>>
>> Thanks a lot for your help,
>>
>> Greetings,
>>
>> Juan Rodriguez Hortala
>>
>>
>>
>>
>>

Reply via email to