Agreed on this not being the cleanest..
Just filed it this morning: HDFS-12384.


On Thu, Aug 31, 2017 at 4:36 PM, Andrew Wang <andrew.w...@cloudera.com>
wrote:

> 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/De
>> leteBuilder.class
>>     org/apache/hadoop/shaded/org/apache/curator/framework/Curato
>> rFramework.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