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

Upgrade netty-all to 4.1.1.Final

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.0.0-alpha1
    • None
    • None
    • None

    Description

      netty-all 4.1.1.Final is stable release which we should upgrade to.

      See bottom of HADOOP-12927 for related discussion.

      This issue was discovered since hbase 2.0 uses 4.1.1.Final of netty.

      When launching mapreduce job from hbase, /grid/0/hadoop/yarn/local/ usercache/hbase/appcache/application_1479850535804_0008/container_e01_1479850535804_0008_01_000005/mr-framework/hadoop/share/hadoop/hdfs/lib/netty-all-4.0.23.Final.jar (from hdfs) is ahead of 4.1.1.Final jar (from hbase) on the classpath.
      Resulting in the following exception:

      2016-12-01 20:17:26,678 WARN [Default-IPC-NioEventLoopGroup-1-1] io.netty.util.concurrent.DefaultPromise: An exception was thrown by org.apache.hadoop.hbase.ipc.NettyRpcConnection$3.operationComplete()
      java.lang.NoSuchMethodError: io.netty.buffer.ByteBuf.retainedDuplicate()Lio/netty/buffer/ByteBuf;
              at org.apache.hadoop.hbase.ipc.NettyRpcConnection$3.operationComplete(NettyRpcConnection.java:272)
              at org.apache.hadoop.hbase.ipc.NettyRpcConnection$3.operationComplete(NettyRpcConnection.java:262)
              at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:680)
              at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:603)
              at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:563)
              at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:406)
      

      Attachments

        1. HADOOP-13866.v1.patch
          0.4 kB
          Ted Yu
        2. HADOOP-13866.v2.patch
          1 kB
          Ted Yu
        3. HADOOP-13866.v3.patch
          9 kB
          Ted Yu
        4. HADOOP-13866.v4.patch
          11 kB
          Ted Yu
        5. HADOOP-13866.v6.patch
          12 kB
          Ted Yu
        6. HADOOP-13866.v7.patch
          1 kB
          Ted Yu
        7. HADOOP-13866.v8.patch
          0.4 kB
          Ted Yu
        8. HADOOP-13866.v8.patch
          1 kB
          Ted Yu
        9. HADOOP-13866.v8.patch
          1 kB
          Ted Yu
        10. HADOOP-13866.v9.patch
          1 kB
          Ted Yu

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: