hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Íñigo Goiri (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HDFS-12384) Fixing compilation issue with BanDuplicateClasses
Date Wed, 06 Sep 2017 21:35:00 GMT

    [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message