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] [Updated] (HDFS-12384) Fixing compilation issue with BanDuplicateClasses
Date Sat, 02 Sep 2017 21:48:00 GMT

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

Íñigo Goiri updated HDFS-12384:
-------------------------------
    Attachment: HDFS-12384-HDFS-10467-001.patch

Solved {{curator-framework}} issues but still getting:
{code}
  Found in:
    org.apache.hadoop:hadoop-client-api:jar:3.1.0-SNAPSHOT:compile
    org.apache.hadoop:hadoop-client-minicluster:jar:3.1.0-SNAPSHOT:compile
  Duplicate classes:
    org/apache/hadoop/hdfs/protocolPB/package-info.class
    org/apache/hadoop/yarn/server/timeline/security/TimelineAuthenticationFilterInitializer.class
    org/apache/hadoop/yarn/server/timeline/security/TimelineAuthenticationFilter.class
{code}

I also fixed the compilation issue with {{RouterRpcServer}} after merging trunk into HDFS-10467.

> 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
>
>
> {{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