Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
- Hadoop 3.2.2
- HBase 2.4.2
- Phoenix 5.1.2
Description
In 6.0.0, PQS already do a shade with relocation on the `javax.servlet` package, but use the test framework (extend the org.apache.phoenix.query.BaseTest) got :
java.lang.NoSuchMethodError: org.eclipse.jetty.servlet.ServletHolder.<init>(Lorg/apache/phoenix/shaded/javax/servlet/Servlet;)V at org.apache.phoenix.queryserver.server.customizers.JMXJsonEndpointServerCustomizer.customize(JMXJsonEndpointServerCustomizer.java:53) at org.apache.phoenix.queryserver.server.customizers.JMXJsonEndpointServerCustomizer.customize(JMXJsonEndpointServerCustomizer.java:36) at org.apache.calcite.avatica.server.HttpServer.internalStart(HttpServer.java:232) at org.apache.calcite.avatica.server.HttpServer.start(HttpServer.java:203) at org.apache.phoenix.queryserver.server.QueryServer.run(QueryServer.java:265) at org.apache.phoenix.queryserver.server.QueryServer.run(QueryServer.java:469) at java.lang.Thread.run(Thread.java:748)
It is recommended to cancel the relocation to allow the parent project to overwrite the version of `javax.servlet`.
Attachments
Issue Links
- duplicates
-
PHOENIX-6861 PQS fails to start because of relocated javax.servlet with Phoenix 5.2
- Resolved
- relates to
-
PHOENIX-6598 Running PQS tests with Hbase 2.4.8 fails with jetty version clash
- Resolved