Hi,

I am new to bigtop community. I downloaded bigtop 1.5 release and run 
‘./gradlew hadoop-pkg-ind` in the extract dir. But the build fails with the 
following error message. The documentation that I followed is 
https://cwiki.apache.org/confluence/display/BIGTOP/Quickstart+Guide%3A+Bigtop+Integration+Test+Framework+2.0

Can anyone shed light how to solve the build problem?

> Task :hadoop-srpm
Caching disabled for task ':hadoop-srpm' because:
  Build cache is disabled
Task ':hadoop-srpm' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
        Nothing to do. Exiting...
:hadoop-srpm (Thread[Execution worker for ':',5,main]) completed. Took 0.001 
secs.
:hadoop-rpm (Thread[Execution worker for ':',5,main]) started.

> Task :hadoop-rpm FAILED
Caching disabled for task ':hadoop-rpm' because:
  Build cache is disabled
Task ':hadoop-rpm' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Starting process 'command 'rpmbuild''. Working directory: /bigtop Command: 
rpmbuild --define _topdir /bigtop/build/hadoop/rpm/ --define 
hadoop_base_version 2.10.1 --define hadoop_version 2.10.1 --define 
hadoop_version 2.10.1 --define hadoop_release 1%{?dist} --rebuild 
/bigtop/output/hadoop/hadoop-2.10.1-1.el7.src.rpm --define do_maven_deploy 
false --define maven_deploy_source false
Successfully started process 'command 'rpmbuild''
error: Failed build dependencies:Installing 
/bigtop/output/hadoop/hadoop-2.10.1-1.el7.src.rpm

        cmake is needed by hadoop-2.10.1-1.el7.x86_64

:hadoop-rpm (Thread[Execution worker for ':',5,main]) completed. Took 0.628 
secs.
FAILURE: Build failed with an exception.

* Where:
Script '/bigtop/packages.gradle' line: 507

* What went wrong:
Execution failed for task ':hadoop-rpm'.
> Process 'command 'rpmbuild'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to 
get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 39s
5 actionable tasks: 5 executed
+ RESULT=1
+ mkdir -p output
+ docker cp 
89a442c078b2c620285f46b9661c6e1d96df73365b7b2ad8200644dd995c317b:/bigtop/build .
+ docker cp 
89a442c078b2c620285f46b9661c6e1d96df73365b7b2ad8200644dd995c317b:/bigtop/output 
.
+ docker rm -f 89a442c078b2c620285f46b9661c6e1d96df73365b7b2ad8200644dd995c317b
89a442c078b2c620285f46b9661c6e1d96df73365b7b2ad8200644dd995c317b
+ '[' 1 -ne 0 ']'
+ exit 1
+ docker rm -f 89a442c078b2c620285f46b9661c6e1d96df73365b7b2ad8200644dd995c317b
Error: No such container: 
89a442c078b2c620285f46b9661c6e1d96df73365b7b2ad8200644dd995c317b

> Task :hadoop-pkg-ind FAILED

FAILURE: Build failed with an exception.

* Where:
Script '/Users/zhenshan.wen/code/learning/bigtop-1.5.0/packages.gradle' line: 
675

* What went wrong:
Execution failed for task ':hadoop-pkg-ind'.
> Process 'command 'bash'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 7s
1 actionable task: 1 executed

Thanks,
Jason

Reply via email to