Created 04-24-2018 12:42 PM
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 .
Created 04-24-2018 12:44 PM
cluster is not kdc cluster
Created 04-24-2018 12:47 PM
What does the zeppelin log say?
Created 04-24-2018 04:36 PM
log.txt pease find the log file
Created 04-24-2018 04:37 PM
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
Created 04-24-2018 06:23 PM
@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:
If this helps answering your question please mark the answer.
HTH
Created 04-25-2018 04:56 AM
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
Created 06-06-2018 11:51 AM
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
Created 06-06-2018 12:29 PM
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
Created 06-07-2018 12:07 PM
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.