You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Mukul Kumar Singh (JIRA)" <ji...@apache.org> on 2017/08/23 15:23:00 UTC

[jira] [Created] (HDFS-12341) Ozone: maven dist compilation fails with "Duplicate classes found" error

Mukul Kumar Singh created HDFS-12341:
----------------------------------------

             Summary: Ozone: maven dist compilation fails with "Duplicate classes found" error
                 Key: HDFS-12341
                 URL: https://issues.apache.org/jira/browse/HDFS-12341
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ozone
    Affects Versions: HDFS-7240
            Reporter: Mukul Kumar Singh
            Assignee: Mukul Kumar Singh
             Fix For: HDFS-7240


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

{code}
[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
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org