Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2556

Building Hadoop fails because Tomcat 6.0.45 is not downloadable from Apache mirror

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • build, hadoop
    • None

    Description

      As of now, ./gradlew hadoop-pkg fails as follows:

      sekikn@ubuntu:~/bigtop$ ./gradlew hadoop-clean
      sekikn@ubuntu:~/bigtop$ ./gradlew hadoop-pkg -Dbuildwithdeps=true
      
      (snip)
      
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (dist) on project hadoop-kms: An Ant BuildException has occured: Can't get http://www-us.apache.org/dist/tomcat/tomcat-6/v6.0.45/bin/apache-tomcat-6.0.45.tar.gz to /home/sekikn/bigtop/output/hadoop/hadoop-2.7.2/hadoop-common-project/hadoop-kms/downloads/apache-tomcat-6.0.45.tar.gz
      [ERROR] around Ant part ...<get skipexisting="true" src="http://www-us.apache.org/dist/tomcat/tomcat-6/v6.0.45/bin/apache-tomcat-6.0.45.tar.gz" dest="downloads/apache-tomcat-6.0.45.tar.gz" verbose="true"/>... @ 5:181 in /home/sekikn/bigtop/output/hadoop/hadoop-2.7.2/hadoop-common-project/hadoop-kms/target/antrun/build-main.xml
      [ERROR] -> [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-kms
      debian/rules:39: recipe for target 'override_dh_auto_build' failed
      make[1]: *** [override_dh_auto_build] Error 1
      make[1]: Leaving directory '/home/sekikn/bigtop/output/hadoop/hadoop-2.7.2'
      debian/rules:27: recipe for target 'build' failed
      make: *** [build] Error 2
      dpkg-buildpackage: error: debian/rules build gave error exit status 2
      debuild: fatal error at line 1376:
      dpkg-buildpackage -rfakeroot -D -us -uc -b
       failed
      :hadoop-deb FAILED
      
      FAILURE: Build failed with an exception.
      

      do-component-build specifies tomcat.download.url as follows, but http://www-us.apache.org/dist/tomcat/tomcat-6/ doesn't seem to have 6.0.45 now.
      It should be replaced with http://archive.apache.org/dist/tomcat/tomcat-6/, I think.

      "bigtop-packages/src/common/hadoop/do-component-build"
       58 mvn $ANT_OPTS $BUNDLE_SNAPPY -Pdist -Pnative -Psrc -Dtar ${MAVEN_OPTS} -Dtomcat.version=${BIGTOP_TOMCAT_VERSION} -Dtomcat.download.url="http://www-us.apache.org/dist/tomcat/tomcat-6/v${BIGTOP_TOMCAT_VERSION}/    bin/apache-tomcat-${BIGTOP_TOMCAT_VERSION}.tar.gz" install "$@"
      

      Attachments

        1. BIGTOP-2556.1.patch
          1 kB
          Kengo Seki

        Issue Links

          Activity

            People

              sekikn Kengo Seki
              sekikn Kengo Seki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: