Support Questions

Find answers, ask questions, and share your expertise

Zeppelin Web UI not start

avatar
Rising Star

Hi,

I am using zeppelin since 2 months and today i restart service. Now i can't acces to zeppelin web UI.

I am using HDP 2.5.0 and ambari 2.4.1. i have this log

Thanks for how i can resolve that!

INFO [2017-04-20 16:10:53,218] ({main} StdSchedulerFactory.java[instantiate]:1339) - Quartz scheduler 'DefaultQuartzScheduler'         initialized from default resource file in Quartz package: 'quartz.properties'
    444  INFO [2017-04-20 16:10:53,218] ({main} StdSchedulerFactory.java[instantiate]:1343) - Quartz scheduler version: 2.2.1
    445  INFO [2017-04-20 16:10:53,218] ({main} QuartzScheduler.java[start]:575) - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED star        ted.
    446  WARN [2017-04-20 16:10:53,905] ({main} ContextHandler.java[log]:2062) - unavailable
    447 javax.servlet.ServletException: Resource class org.apache.zeppelin.server.ZeppelinServer can not be instantiated due to Invocati        onTargetException
    448         at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createSingletonInstance(CXFNonSpringJaxrsServlet.java:396)
    449         at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createApplicationInstance(CXFNonSpringJaxrsServlet.java:454)
    450         at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createServerFromApplication(CXFNonSpringJaxrsServlet.java:432)
    451         at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.init(CXFNonSpringJaxrsServlet.java:93)
    452         at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)
    453         at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396)
    454         at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
    455         at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
    456         at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
    457         at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
    458         at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
    459         at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
    460         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    461         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    462         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
    463         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    464         at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
    465         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    466         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    467         at org.eclipse.jetty.server.Server.start(Server.java:387)
    468         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
    469         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    470         at org.eclipse.jetty.server.Server.doStart(Server.java:354)
    471         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    472         at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:116)
    473  WARN [2017-04-20 16:10:54,595] ({main} WebAppContext.java[doStart]:514) - Failed startup of context o.e.j.w.WebAppContext@7bb58        ca3{/,file:/hadoop/usr/hdp/2.5.0.0-1245/zeppelin/webapps/webapp/,STARTING}{/usr/hdp/current/zeppelin-server/lib/zeppelin-web-0.6        .0.2.5.0.0-1245.war}
    474 javax.servlet.ServletException: Resource class org.apache.zeppelin.server.ZeppelinServer can not be instantiated due to Invocati        onTargetException


at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createSingletonInstance(CXFNonSpringJaxrsServlet.java:396)
    476         at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createApplicationInstance(CXFNonSpringJaxrsServlet.java:454)
    477         at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createServerFromApplication(CXFNonSpringJaxrsServlet.java:432)
    478         at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.init(CXFNonSpringJaxrsServlet.java:93)
    479         at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616)
    480         at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396)
    481         at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
    482         at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
    483         at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
    484         at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
    485         at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
    486         at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
    487         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    488         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    489         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
    490         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    491         at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)
    492         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    493         at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    494         at org.eclipse.jetty.server.Server.start(Server.java:387)
    495         at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
    496         at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    497         at org.eclipse.jetty.server.Server.doStart(Server.java:354)
    498         at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    499         at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:116)
    500  INFO [2017-04-20 16:10:54,604] ({main} AbstractConnector.java[doStart]:266) - Started ServerConnector@2227a6c1{HTTP/1.1}{0.0.0.        0:9995}
    501  INFO [2017-04-20 16:10:54,604] ({main} Server.java[doStart]:379) - Started @2817ms
    502  INFO [2017-04-20 16:10:54,605] ({main} ZeppelinServer.java[main]:121) - Done, zeppelin server started
    503  INFO [2017-04-20 16:11:04,038] ({Thread-11} DependencyResolver.java[load]:100) - copy /home/grpis/j078180/spark-highcharts-0.6.        4.jar to /usr/hdp/current/zeppelin-server/local-repo/2CE6YB1QE
    504  INFO [2017-04-20 16:24:43,024] ({Thread-18} ZeppelinServer.java[run]:125) - Shutting down Zeppelin Server ...
    505  INFO [2017-04-20 16:24:43,029] ({Thread-18} AbstractConnector.java[doStop]:306) - Stopped ServerConnector@2227a6c1{HTTP/1.1}{0.        0.0.0:9995}
    506  INFO [2017-04-20 16:24:43,035] ({Thread-18} ContextHandler.java[log]:2052) - Cleaning up Shiro Environment


4 REPLIES 4

avatar
Master Mentor

@Baruch AMOUSSOU DJANGBAN

Please check if by any chance you have the "/etc/zeppelin/conf/interpreter.json" if it has correct read permission and also if the data inside this file is correct Or got corrupted by any chance.

- Also it will be good to try moving the "/usr/hdp/2.5.0.2-3/zeppelin/webapps/" directory to some other directory and then restart Zeppelin.

Example:

# mv  /usr/hdp/2.5.0.2-3/zeppelin/webapps   /Backup

.

avatar
Rising Star

Yes i have /etc/zeppelin/conf/interpreter.json Y and it has correct permission for read and data is no corrupted.

i move webapps directory in another and try to restart zeppelin. So it's not solve my problem.

avatar
Rising Star

I delete zeppelin with ambari et then try to reinstall it to the same VMs. I got this error :

14797-zeppelin-install.png

avatar
Rising Star

and the output log is :

14798-zeppelin-install-1.png