Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12341

Ozone: maven dist compilation fails with "Duplicate classes found" error

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-7240
    • HDFS-7240
    • ozone
    • None
    • Reviewed

    Description

      mvn package -Pdist -DskipTests -Dtar -Dmaven.javadoc.skip=true fails with the following error

      [WARNING] Rule 1: org.apache.maven.plugins.enforcer.BanDuplicateClasses failed with message:
      Duplicate classes found:
      
        Found in:
          org.apache.hadoop:hadoop-client-minicluster:jar:3.0.0-beta1-SNAPSHOT:compile
          org.apache.hadoop:hadoop-client-runtime:jar:3.0.0-beta1-SNAPSHOT:compile
        Duplicate classes:
          org/apache/hadoop/shaded/io/netty/buffer/ByteBufProcessor$3.class
          org/apache/hadoop/shaded/io/netty/handler/codec/sctp/SctpOutboundByteStreamHandler.class
          org/apache/hadoop/shaded/io/netty/handler/codec/rtsp/RtspObjectEncoder.class
          org/apache/hadoop/shaded/io/netty/channel/AbstractChannel$AbstractUnsafe.class
      

      Attachments

        1. HDFS-12341-HDFS-7240.001.patch
          2 kB
          Mukul Kumar Singh
        2. HDFS-12341-HDFS-7240.002.patch
          2 kB
          Mukul Kumar Singh

        Activity

          People

            msingh Mukul Kumar Singh
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: