Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
Currently 9.3.19.v20170502 is used.
In hbase 2.0+, 9.4.6.v20170531 is used.
When starting mini dfs cluster in hbase unit tests, we get the following:
java.lang.NoSuchMethodError: org.eclipse.jetty.server.session.SessionHandler.getSessionManager()Lorg/eclipse/jetty/server/SessionManager; at org.apache.hadoop.http.HttpServer2.initializeWebServer(HttpServer2.java:548) at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:529) at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:119) at org.apache.hadoop.http.HttpServer2$Builder.build(HttpServer2.java:415) at org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:157) at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:887) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:723) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:949) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:928) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1637) at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNode(MiniDFSCluster.java:1277) at org.apache.hadoop.hdfs.MiniDFSCluster.configureNameService(MiniDFSCluster.java:1046) at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNodesAndSetConf(MiniDFSCluster.java:921)
This issue is to upgrade Jetty to 9.4 version
Attachments
Attachments
Issue Links
- is depended upon by
-
HADOOP-9991 Fix up Hadoop POMs, roll up JARs to latest versions
- Open
-
DRILL-7135 Upgrade to Jetty 9.4
- Resolved
- is related to
-
KNOX-1516 Upgrade Jetty to 9.4.12
- Closed
- relates to
-
HBASE-18224 Upgrade jetty
- Resolved
-
HADOOP-16152 Upgrade Eclipse Jetty version to 9.4.x
- Resolved
Hi Ted Yu
Is it because of jetty?
As I am seeing jetty code 9.4, still I dont see the method getSessionManager?
https://github.com/eclipse/jetty.project/blob/jetty-9.4.x/jetty-server/src/main/java/org/eclipse/jetty/server/session/SessionHandler.java
Please let me know if i am missing something here.