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

John Zhuge resolved HADOOP-13941.
---------------------------------
    Resolution: Not A Problem

The issue went away after {{mvn clean}} and {{git clean -f -d}}. Not sure which 
one did the trick.

> hadoop-client-minicluster build error creating shaded jar duplicate entry
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-13941
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13941
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha2
>         Environment: CentOS Linux release 7.2.1511 (Core) 
> $ mvn -version
> Apache Maven 3.0.5 (Red Hat 3.0.5-17)
> Maven home: /usr/share/maven
> Java version: 1.8.0_111, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-327.36.3.el7.x86_64", arch: "amd64", 
> family: "unix"
>            Reporter: John Zhuge
>
> {noformat}
> $ mvn clean package install -Pdist -Dtar -DskipTests -Dmaven.javadoc.skip
> ...
> [INFO] Apache Hadoop Client Test Minicluster ............. FAILURE [5:57.062s]
> [INFO] Apache Hadoop Client Packaging Invariants for Test  SKIPPED
> [INFO] Apache Hadoop Client Packaging Integration Tests .. SKIPPED
> [INFO] Apache Hadoop Distribution ........................ SKIPPED
> [INFO] Apache Hadoop Client Modules ...................... SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 15:13.535s
> [INFO] Finished at: Fri Dec 23 11:31:59 PST 2016
> [INFO] Final Memory: 324M/1824M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-shade-plugin:2.4.3:shade (default) on project 
> hadoop-client-minicluster: Error creating shaded jar: duplicate entry: 
> META-INF/services/org.apache.hadoop.shaded.org.eclipse.jetty.http.HttpFieldPreEncoder
>  -> [Help 1]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to