Support Questions

Find answers, ask questions, and share your expertise

zeppelin Web page - HTTP ERROR: 503

avatar
Explorer

cluster details:

HDP 2.6.3 - upgraded from 2.5 to 2.6 - all services are working fine without any issuess

zeppelin webpage access error HTTP 503

i agve logged into zeppelin hosts root manually changed group name and permission

drwxrwxrwx 3 zeppelin zeppelin 4096 Apr 24 14:19 webapps

tried to access webpage same error, i knkow there may be restart required to zeppelin service.

once i restarted zeppelin via ambari the owner and permission of the webapps folder are changing to drwxr-x--- 3 zeppelin zeppelin 4096 Apr 24 14:40 webapps

pease can any one suggest how to solve this issue .

9 REPLIES 9

avatar
Explorer

cluster is not kdc cluster

avatar

What does the zeppelin log say?

avatar
Explorer

log.txt pease find the log file

avatar
Explorer

Failed startup of context o.e.j.w.WebAppContext@10e92f8f{/,file:/usr/hdp/2.6.3.0-235/zeppelin/webapps/webapp/,STARTING}{/usr/hdp/current/zeppelin-server/lib/zeppelin-web-0.7.3.2.6.3.0-235.war} javax.servlet.ServletException: Resource class org.apache.zeppelin.server.ZeppelinServer can not be instantiated due to InvocationTargetException at

avatar

@Kant T Is your zeppelin configured to use remote storage for notebooks and interpreter settings? If so this is a known issue when upgrading to HDP 2.6.3 - The fix for this issue is already part of HDP 2.6.4. I understand there is a HDP internal bug and Hotfix you could request from Hortonworks Support if upgrading to 2.6.4 is not possible.

Here is the link to the tech alert sent not long ago about this problem, it contains steps on how to apply the hotfix as well:

https://community.hortonworks.com/content/supportkb/177625/zeppelin-service-issue-secure-cluster-tec...

If this helps answering your question please mark the answer.

HTH

avatar
Explorer

Thanks for your comments

I am not using remote storage for notebook and interpreter. using local storage only.

my storage location is: /usr/hdp/2.6.xxxxxxx/zeppelin/notebook.

I manually changed permission and ownership as 755 & zeppelin:hadoop for webapps directory

my issues here is after restarting zeppelin service via ambri all permissions and ownership of the webapps follder will be changing

permissions are 750 - may be this the reason i am not able to access the webUI of zeppelin.

ownership - zeppelin:zeppelin

avatar
Explorer

WARN [2018-06-06 13:31:14,247] ({main} ContextHandler.java[log]:2062) - unavailable javax.servlet.ServletException: Resource class org.apache.zeppelin.server.ZeppelinServer can not be instantiated due to InvocationTargetException at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createSingletonInstance(CXFNonSpringJaxrsServlet.java:396) at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createApplicationInstance(CXFNonSpringJaxrsServlet.java:454) at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createServerFromApplication(CXFNonSpringJaxrsServlet.java:432) at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.init(CXFNonSpringJaxrsServlet.java:93) at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616) at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) at org.eclipse.jetty.server.Server.start(Server.java:387) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) at org.eclipse.jetty.server.Server.doStart(Server.java:354) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:235) WARN [2018-06-06 13:31:14,952] ({main} WebAppContext.java[doStart]:514) - Failed startup of context o.e.j.w.WebAppContext@62e7f11d{/,file:/usr/hdp/2.6.3.0-235/zeppelin/webapps/webapp/,STARTING}{/usr/hdp/current/zeppelin-server/lib/zeppelin-web-0.7.3.2.6.3.0-235.war} javax.servlet.ServletException: Resource class org.apache.zeppelin.server.ZeppelinServer can not be instantiated due to InvocationTargetException at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createSingletonInstance(CXFNonSpringJaxrsServlet.java:396) at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createApplicationInstance(CXFNonSpringJaxrsServlet.java:454) at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createServerFromApplication(CXFNonSpringJaxrsServlet.java:432) at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.init(CXFNonSpringJaxrsServlet.java:93) at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:616) at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)

Followed steps as per the link for hotfix but still not able to open the GUI 503 error.

https://community.hortonworks.com/content/supportkb/177625/index.html

avatar
Master Mentor

@Kant T

Have you tried using after changing the webapps directory user: group to zeppelin:hadoop and prevented Ambari from changing by using

# chattr -R +i /usr/hdp/2.6.3.x/zeppelin/webapps

Restart Zeppelin and relogin

avatar
Explorer

Thanks but No luck by changing attriubute as immuatable. after chnaging the attr log files saying that unable to delete temp webapps folder - warning.. actual my issue is not opening the zeppelin webpage at all.