[ 
https://issues.apache.org/jira/browse/HADOOP-13941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16027456#comment-16027456
 ] 

Shane Kumpf commented on HADOOP-13941:
--------------------------------------

While not 100% conclusive given the small sample size, I can report after 20 
builds with and without the extra package goal, there does appear to be a 
correlation. I encountered the error 0/20 without package, and 3/20 with 
package. Also, without package the build time decreased by ~1/3. I'm a bit 
surprised by this behavior, but thank you [~aw] for the tip! I'll close this 
issue.

> 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.15#6346)

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