[ 
https://issues.apache.org/jira/browse/HDFS-12341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mukul Kumar Singh updated HDFS-12341:
-------------------------------------
    Attachment: HDFS-12341-HDFS-7240.002.patch

patch v2 fixes the build errors

> 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
>
>         Attachments: HDFS-12341-HDFS-7240.001.patch, 
> HDFS-12341-HDFS-7240.002.patch
>
>
> {{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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to