[ 
https://issues.apache.org/jira/browse/HDFS-12384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156066#comment-16156066
 ] 

Íñigo Goiri commented on HDFS-12384:
------------------------------------

Thanks [~busbey] for the clarification about the javac.
The fix works fine in my local machine (not super confident about addign 
hadoop-hdfs to the exclusion though).
Is my fix taking effect? Not sure what log to check, mvn install still says:
{code}
[WARNING] 
Dependency convergence error for 
org.apache.hadoop:hadoop-client-api:3.1.0-20170902.002555-3 paths to dependency 
are:
+-org.apache.hadoop:hadoop-client-minicluster:3.1.0-SNAPSHOT
  +-org.apache.hadoop:hadoop-client-api:3.1.0-20170902.002555-3
and
+-org.apache.hadoop:hadoop-client-minicluster:3.1.0-SNAPSHOT
  +-org.apache.hadoop:hadoop-client-runtime:3.1.0-20170902.002602-3
    +-org.apache.hadoop:hadoop-client-api:3.1.0-SNAPSHOT
{code}
In 
https://builds.apache.org/job/PreCommit-HDFS-Build/21025/artifact/patchprocess/patch-mvninstall-hadoop-client-modules_hadoop-client-minicluster.txt.

> Fixing compilation issue with BanDuplicateClasses
> -------------------------------------------------
>
>                 Key: HDFS-12384
>                 URL: https://issues.apache.org/jira/browse/HDFS-12384
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: fs
>            Reporter: Íñigo Goiri
>            Assignee: Íñigo Goiri
>             Fix For: HDFS-10467
>
>         Attachments: HDFS-12384-HDFS-10467-000.patch, 
> HDFS-12384-HDFS-10467-001.patch, HDFS-12384-HDFS-10467-002.patch, 
> HDFS-12384-HDFS-10467-003.patch, HDFS-12384-HDFS-10467-004.patch
>
>
> {{hadoop-client-modules}} is failing because of dependences added by 
> {{CuratorManager}}:
> {code}
> [INFO]   Adding ignore: *
> [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/org/apache/curator/framework/api/DeleteBuilder.class
>     
> org/apache/hadoop/shaded/org/apache/curator/framework/CuratorFramework.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