You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Amir Sanjar (JIRA)" <ji...@apache.org> on 2016/10/27 03:32:58 UTC

[jira] [Commented] (BIGTOP-2556) Building Hadoop fails because Tomcat 6.0.45 is not downloadable from Apache mirror

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

Amir Sanjar commented on BIGTOP-2556:
-------------------------------------

+1

> Building Hadoop fails because Tomcat 6.0.45 is not downloadable from Apache mirror
> ----------------------------------------------------------------------------------
>
>                 Key: BIGTOP-2556
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2556
>             Project: Bigtop
>          Issue Type: Bug
>          Components: build, hadoop
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>         Attachments: BIGTOP-2556.1.patch
>
>
> As of now, {{./gradlew hadoop-pkg}} fails as follows:
> {code}
> 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.
> {code}
> 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.
> {code:title="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 "$@"
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)