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

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

I'm hitting this fairly often in my vagrant setup when building 3.0.0-alpha2. 
Rerunning the build (I'm using {{mvn clean install package -Pnative,dist -Dtar 
-Dcontainer-executor.conf.dir=../etc/hadoop 
-Dcontainer-executor.additional_cflags="-DDEBUG" -DskipTests 
-Dmaven.javadoc.skip=true}}) a time or two allows the build to complete, but it 
results in quite a bit of wasted time. I started to look into why this occurs, 
but the intermittent nature of the failure is making it difficult. If anyone 
has thoughts on potential causes, I'd be happy to assist in testing.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to