hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13941) hadoop-client-minicluster build error creating shaded jar duplicate entry
Date Fri, 26 May 2017 14:37:05 GMT

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

Allen Wittenauer commented on HADOOP-13941:
-------------------------------------------

I've noticed that you are both doing 'mvn clean install package'.  My understanding of the
maven lifecycle (https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html)
means that 'mvn install' already does a 'mvn package'.  Perhaps the command line being given
is causing double code execution?

> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message