Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14930

Upgrade Jetty to 9.4 version

    XMLWordPrintableJSON

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

        1. HADOOP-14930.00.patch
          4 kB
          Bharat Viswanadham

        Issue Links

          Activity

            People

              bharat Bharat Viswanadham
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: