-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50991/#review145520
-----------------------------------------------------------


Ship it!




Ship It!

- Dmitro Lisnichenko


On Aug. 11, 2016, 7:35 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50991/
> -----------------------------------------------------------
> 
> (Updated Aug. 11, 2016, 7:35 p.m.)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko, Myroslav Papirkovskyy, Sumit 
> Mohanty, Sid Wagle, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-18123
>     https://issues.apache.org/jira/browse/AMBARI-18123
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> ambari-server --hash
> dcb6d19d2e34b76caae73bcfbd830388155c16dc
> Observed this issue after upgrade of Ambari server from 2.2.2.0 to 2.4.0.0 
> where after running "ambari-server start" command, the logs throw below 
> errors:
> 05 Aug 2016 18:00:03,007 ERROR [main] AmbariServer:927 - Failed to run the 
> Ambari Server
> java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
>       at 
> org.apache.jasper.compiler.JspRuntimeContext.<init>(JspRuntimeContext.java:197)
>       at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:150)
>       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:793)
>       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.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.ambari.server.controller.AmbariServer.run(AmbariServer.java:616)
>       at 
> org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:925)
> Ambari classpath contains 2 jars with JspRuntimeContext.
> The failure is caused by in Hive view 
> [Loaded org.apache.jasper.compiler.JspRuntimeContext from 
> file:/var/lib/ambari-server/resources/views/work/HIVE%7B1.5.0%7D/WEB-INF/lib/jasper-compiler-5.5.23.jar]
> JspRuntimeContext in this jar doesn't have field IS_SECURITY_ENABLED
> 
> 
> Diffs
> -----
> 
>   ambari-server/pom.xml 169f86a 
>   contrib/views/hive-next/pom.xml 8bf7296 
>   contrib/views/hive/pom.xml 33294a2 
> 
> Diff: https://reviews.apache.org/r/50991/diff/
> 
> 
> Testing
> -------
> 
> Unit tests passed
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>

Reply via email to