>
> v) mvn install (and package) is failing with following error
>
> [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
>
>
> I added "hadoop-client-minicluster" to ignore list to get success
>
> hadoop\hadoop-client-modules\hadoop-client-integration-tests\pom.xml
>
>                   <dependencies>
>                     <dependency>
>                       <groupId>org.apache.hadoop</groupId>
>                       <artifactId>hadoop-annotations</artifactId>
>                       <ignoreClasses>
>                         <ignoreClass>*</ignoreClass>
>                       </ignoreClasses>
>                     </dependency>
>                     <dependency>
>                       <groupId>org.apache.hadoop</groupId>
>                       <artifactId>hadoop-client-minicluster</artifactId>
>                       <ignoreClasses>
>                         <ignoreClass>*</ignoreClass>
>                       </ignoreClasses>
>                     </dependency>
>

Is there a JIRA filed for this issue? We should engage with Sean Busbey on
the right fix. I don't think it's right to exclude the minicluster from
this checking.

Reply via email to