Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6598

Running PQS tests with Hbase 2.4.8 fails with jetty version clash

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • core, queryserver

    Description

      Running

      mvn clean verify -DforkCount=6 -Dhbase.version=2.4.8
      

      results in

      [ERROR] org.apache.phoenix.end2end.SecureQueryServerPhoenixDBIT  Time elapsed: 28.237 s  <<< ERROR!
      java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMasterServlet class org.apache.hadoop.hbase.generated.master.namedQueueLog_jsp is not a javax.servlet.Servlet
      	at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:137)
      	at org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:239)
      	at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:181)
      	at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:94)
      	at org.apache.phoenix.end2end.SecureQueryServerPhoenixDBIT.setUp(SecureQueryServerPhoenixDBIT.java:279)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
      	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
      Caused by: java.io.IOException: Unable to initialize WebAppContext
      	at org.apache.hadoop.hbase.http.HttpServer.start(HttpServer.java:1100)
      	at org.apache.hadoop.hbase.http.InfoServer.start(InfoServer.java:150)
      	at org.apache.hadoop.hbase.regionserver.HRegionServer.putUpWebUI(HRegionServer.java:2200)
      	at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:687)
      	at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:414)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      	at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:132)
      	... 22 more
      Caused by: org.apache.phoenix.shaded.javax.servlet.UnavailableException: Servlet class org.apache.hadoop.hbase.generated.master.namedQueueLog_jsp is not a javax.servlet.Servlet
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.servlet.ServletHolder.checkServletType(ServletHolder.java:506)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:378)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:730)
      	at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:483)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
      	at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:313)
      	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
      	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:647)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:755)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1457)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1422)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:911)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.server.Server.start(Server.java:423)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.server.Server.doStart(Server.java:387)
      	at org.apache.hbase.thirdparty.org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
      	at org.apache.hadoop.hbase.http.HttpServer.start(HttpServer.java:1078)
      	... 31 more

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            stoty Istvan Toth

            Dates

              Created:
              Updated:

              Slack

                Issue deployment