Error While Running Bigbench [exited with error code 255]

269 views
Skip to first unread message

Sarthak Sharma

unread,
Jul 1, 2016, 8:31:07 AM7/1/16
to Big Data Benchmark for BigBench
I have configured Bigbench as per the official github page and get the following results on running the benchmark. From what I think, there is a problem with the "PSSH" command and I am still unable to figure out a suitable solution for the issue. 

# /root/Big-Bench/bin/bigBench runBenchmark -m 4 -f 100 -s 2 -b

Picked up _JAVA_OPTIONS: -Xms512m -Xmx31096m
BigBench clean all                                      (this might take a while...)
dropping database (with all tables)
/root/Big-Bench/engines/hive/conf/engineSettings.conf: line 15: /usr/bin/hive: No such file or directory
An error occured while running command:
==========
runEngineCmd -e DROP DATABASE IF EXISTS bigbench CASCADE;
==========
Please check the log files for details
Command: [bash, /root/Big-Bench/bin/bigBench, cleanAll, -m, 4, -f, 100, -s, 2, -b, -U]
got non-zero return value: 127
BigBench clean all                                      failed. Time:          0h:00m:00s:121ms
==============
Benchmark run terminated
Reason: An error occured while running a command in phase CLEAN_ALL
==============
java.io.IOException: Error while running module cleanAll. More information in corresponding logfile in /root/Big-Bench/logs
at io.bigdatabenchmark.v1.driver.BigBench.runModule(BigBench.java:778)
at io.bigdatabenchmark.v1.driver.BigBench.run(BigBench.java:462)
at io.bigdatabenchmark.v1.driver.RunBigBench.main(RunBigBench.java:52)

************
Big Data
Benchmark
Result
v1.0
************
NOK: Some required BigBench phases were skipped. No final result available.
Picked up _JAVA_OPTIONS: -Xms512m -Xmx31096m
16/07/01 18:18:24 INFO client.RMProxy: Connecting to ResourceManager at localhost/127.0.0.1:8032
16/07/01 18:18:24 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
[1] 18:18:25 [FAILURE] orion-06.local Exited with error code 255
[1] 18:18:25 [FAILURE] orion-06.local Exited with error code 255
[1] 18:18:25 [FAILURE] orion-06.local Exited with error code 255

Dave Jaffe

unread,
Jul 5, 2016, 5:49:13 PM7/5/16
to Big Data Benchmark for BigBench
Sarthak-

You need to have hive installed to run BigBench:
/root/Big-Bench/engines/hive/conf/engineSettings.conf: line 15: /usr/bin/hive: No such file or directory

If it is installed in a different location you need to modify line 221 of the above file.

Please let me know if this helps, 

Dave Jaffe

Michael Frank

unread,
Jul 12, 2016, 2:51:53 AM7/12/16
to Big Data Benchmark for BigBench
Hi Sarthak,
Please set the path to your hive binary at the intended location: /engines/hive/conf/engineSettings.conf ,(almost at the bottom of the file) If changed there, it will be used in all required sub-scripts and methods..
The line umber for the line dave gave you may be bogus, because it depends on if you use the zip from tpc tpcx-bb or use the latest version from the public github (different headers in file).
Look for line:
  BINARY="/usr/bin/hive"
 
Cheers Michael
Reply all
Reply to author
Forward
0 new messages