[ https://issues.apache.org/jira/browse/HADOOP-17326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akira Ajisaka resolved HADOOP-17326. ------------------------------------ Resolution: Cannot Reproduce Closing. I successfully ran {{mvn verify}} in both trunk and branch-3.3 on my local. Please feel free to reopen this if it's still failing in some environment. > mvn verify fails due to duplicate entry in the shaded jar > --------------------------------------------------------- > > Key: HADOOP-17326 > URL: https://issues.apache.org/jira/browse/HADOOP-17326 > Project: Hadoop Common > Issue Type: Bug > Components: build > Affects Versions: 3.2.2, 3.3.1, 3.4.0 > Reporter: Wei-Chiu Chuang > Priority: Blocker > > Found this when I was chasing a separate shading error with [~smeng]. > In trunk: > run mvn verify under hadoop-client-module/ > {noformat} > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary for Apache Hadoop Client Modules 3.4.0-SNAPSHOT: > [INFO] > [INFO] Apache Hadoop Client Aggregator .................... SUCCESS [ 2.607 > s] > [INFO] Apache Hadoop Client API ........................... SUCCESS [03:16 > min] > [INFO] Apache Hadoop Client Runtime ....................... SUCCESS [01:30 > min] > [INFO] Apache Hadoop Client Test Minicluster .............. FAILURE [04:44 > min] > [INFO] Apache Hadoop Client Packaging Invariants .......... SKIPPED > [INFO] Apache Hadoop Client Packaging Invariants for Test . SKIPPED > [INFO] Apache Hadoop Client Packaging Integration Tests ... SKIPPED > [INFO] Apache Hadoop Client Modules ....................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 09:34 min > [INFO] Finished at: 2020-10-23T16:38:53-07:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-shade-plugin:3.2.1:shade (default) on project > hadoop-client-minicluster: Error creating shaded jar: duplicate entry: > META-INF/services/org.apache.hadoop.shaded.com.fasterxml.jackson.core.JsonFactory > -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > swit > {noformat} > This is reproducible in trunk and branch-3.3. However, not reproducible in > branch-3.1. > (branch-3.3 has a different error: > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-shade-plugin:3.2.1:shade (default) on project > hadoop-client-minicluster: Error creating shaded jar: duplicate entry: > META-INF/services/org.apache.hadoop.shaded.javax.ws.rs.ext.MessageBodyReader > -> [Help 1]) -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org