You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kengo Seki (Jira)" <ji...@apache.org> on 2021/01/05 05:48:00 UTC

[jira] [Created] (BIGTOP-3473) Building Hadoop 3.2.1 fails in checking jar contents

Kengo Seki created BIGTOP-3473:
----------------------------------

             Summary: Building Hadoop 3.2.1 fails in checking jar contents
                 Key: BIGTOP-3473
                 URL: https://issues.apache.org/jira/browse/BIGTOP-3473
             Project: Bigtop
          Issue Type: Bug
          Components: hadoop
            Reporter: Kengo Seki


I encountered the following error in building Hadoop 3.2.1 on some distros.

{code}
$ git status 
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
$ git log -1
commit 26a92e4340fee6ab2f6aa6a5925faf33d41ec181 (HEAD -> master, upstream/master, origin/master, origin/HEAD)
Author: Masatake Iwasaki <iw...@apache.org>
Date:   Fri Dec 18 22:12:14 2020 +0900

    BIGTOP-3280. Bump Hadoop to 3.2.1. (#704)
$ ./gradlew allclean hadoop-pkg -Dbuildwithdeps=true

(snip)

[INFO] -------< org.apache.hadoop:hadoop-client-check-test-invariants >--------
[INFO] Building Apache Hadoop Client Packaging Invariants for Test 3.2.1 [92/97]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 

(snip)

[INFO] --- exec-maven-plugin:1.3.1:exec (check-jar-contents) @ hadoop-client-check-test-invariants ---
[ERROR] Found artifact with unexpected contents: '/home/vagrant/bigtop/output/hadoop/hadoop-3.2.1/hadoop-client-modules/hadoop-client-minicluster/target/hadoop-client-minicluster-3.2.1.jar'
    Please check the following and either correct the build or update
    the allowed list with reasoning.

    overview.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Hadoop Main 3.2.1 ........................... SUCCESS [01:37 min]

(snip)

[INFO] Apache Hadoop Client Test Minicluster .............. SUCCESS [02:59 min]
[INFO] Apache Hadoop Client Packaging Invariants for Test . FAILURE [  0.695 s]
[INFO] Apache Hadoop Client Packaging Integration Tests ... SKIPPED
[INFO] Apache Hadoop Distribution ......................... SKIPPED
[INFO] Apache Hadoop Client Modules ....................... SKIPPED
[INFO] Apache Hadoop Cloud Storage ........................ SKIPPED
[INFO] Apache Hadoop Cloud Storage Project 3.2.1 .......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46:00 min
[INFO] Finished at: 2021-01-05T05:09:23Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.1:exec (check-jar-contents) on project hadoop-client-check-test-invariants: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hadoop-client-check-test-invariants
debian/rules:39: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory '/home/vagrant/bigtop/output/hadoop/hadoop-3.2.1'
debian/rules:27: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1152:
dpkg-buildpackage -rfakeroot -us -uc -ui -b
 failed

> Task :hadoop-deb FAILED

FAILURE: Build failed with an exception.
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)