--
You received this message because you are subscribed to the Google Groups "Big Data Benchmark for BigBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to big-bench+unsubscribe@googlegroups.com.
To post to this group, send email to big-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/big-bench/b3700f02-f42d-4070-89c4-4e76144a01ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Are you running the runBenchmark command from a client system for Hadoop. For example, can you run the command "hdfs fs -ls" from that system?Dave Jaffe
On Mon, Apr 10, 2017 at 2:55 PM, 林柏年 <s101...@gmail.com> wrote:
Hi, I am new to Cloudera & big benchI was tried to run the first command: "$INSTALL_DIR/bin/bigBench" runBenchmark -m 4 -f 100 -s 2but it printed the Error message: line 49: java command not found(I have installed java with Cloudera manager.)After searching for solutions, I Manually setting JAVAHOME PATH "export JAVA_HOME=/usr/java/jdk1.7.0.nn.." by editing/etc/default/bigtop-util in server & agent host, but it still not working.Is there any suggestion? thanks
--
You received this message because you are subscribed to the Google Groups "Big Data Benchmark for BigBench" group.
To unsubscribe from this group and stop receiving emails from it, send an email to big-bench+...@googlegroups.com.
To post to this group, send email to big-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/big-bench/b3700f02-f42d-4070-89c4-4e76144a01ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Are you running the runBenchmark command from a client system for Hadoop. For example, can you run the command "hdfs fs -ls" from that system?Dave Jaffe
On Mon, Apr 10, 2017 at 2:55 PM, 林柏年 <s101...@gmail.com> wrote:Hi, I am new to Cloudera & big bench--I was tried to run the first command: "$INSTALL_DIR/bin/bigBench" runBenchmark -m 4 -f 100 -s 2but it printed the Error message: line 49: java command not found(I have installed java with Cloudera manager.)After searching for solutions, I Manually setting JAVAHOME PATH "export JAVA_HOME=/usr/java/jdk1.7.0.nn.." by editing/etc/default/bigtop-util in server & agent host, but it still not working.Is there any suggestion? thanks
--Dave Jaffe
## ==========================
## JAVA environment
## ==========================
export BIG_BENCH_JAVA="java"
## ==========================
## default settings for benchmark
## ==========================
export BIG_BENCH_DEFAULT_DATABASE="bigbench"
export BIG_BENCH_DEFAULT_ENGINE="hive"
export BIG_BENCH_DEFAULT_MAP_TASKS="80"
export BIG_BENCH_DEFAULT_SCALE_FACTOR="1000"
export BIG_BENCH_DEFAULT_NUMBER_OF_PARALLEL_STREAMS="2"
export BIG_BENCH_DEFAULT_BENCHMARK_PHASE="run_query"
## ==========================
## HADOOP environment
## ==========================
##folder containing the cluster setup *-site.xml files like core-site.xml
export BIG_BENCH_HADOOP_CONF="/etc/hadoop/conf.cloudera.hdfs"
export BIG_BENCH_HADOOP_LIBS_NATIVE="/opt/cloudera/parcels/CDH/lib/hadoop/lib/native"
## ==========================
## HDFS config and paths
## ==========================
export BIG_BENCH_USER="$USER"
export BIG_BENCH_HDFS_ABSOLUTE_PATH="/user/$BIG_BENCH_USER" ##working dir of benchmark.
export BIG_BENCH_HDFS_RELATIVE_HOME="benchmarks/bigbench"
export BIG_BENCH_HDFS_RELATIVE_INIT_DATA_DIR="$BIG_BENCH_HDFS_RELATIVE_HOME/data"
export BIG_BENCH_HDFS_RELATIVE_REFRESH_DATA_DIR="$BIG_BENCH_HDFS_RELATIVE_HOME/data_refresh"
export BIG_BENCH_HDFS_RELATIVE_QUERY_RESULT_DIR="$BIG_BENCH_HDFS_RELATIVE_HOME/queryResults"
export BIG_BENCH_HDFS_RELATIVE_TEMP_DIR="$BIG_BENCH_HDFS_RELATIVE_HOME/temp"
export BIG_BENCH_HDFS_ABSOLUTE_HOME="$BIG_BENCH_HDFS_ABSOLUTE_PATH/$BIG_BENCH_HDFS_RELATIVE_HOME"
export BIG_BENCH_HDFS_ABSOLUTE_INIT_DATA_DIR="$BIG_BENCH_HDFS_ABSOLUTE_PATH/$BIG_BENCH_HDFS_RELATIVE_INIT_DATA_DIR"
export BIG_BENCH_HADOOP_CONF="/etc/hadoop/conf.cloudera.hdfs"
export BIG_BENCH_HADOOP_LIBS_NATIVE="/opt/cloudera/parcels/CDH/lib/hadoop/lib/native"
[root@viper0 conf]# cd /etc/hadoop/
[root@viper0 hadoop]# ls
conf conf.dist conf.empty conf.impala
[root@viper0 hadoop]# cd conf
[root@viper0 conf]# ls
capacity-scheduler.xml hadoop-metrics2.properties mapred-queues.xml.template ssl-server.xml.example
configuration.xsl hadoop-metrics.properties mapred-site.xml yarn-env.sh
container-executor.cfg hadoop-policy.xml mapred-site.xml.template yarn-site.xml
core-site.xml hdfs-site.xml slaves
fair-scheduler.xml log4j.properties ssl-client.xml.example
java -version
[root@viper0 conf]# hadoop version
Hadoop 2.6.0-cdh5.4.10
Subversion http://github.com/cloudera/hadoop -r 968adb268337548ebd7123d2ab6fcd481001fa78
Compiled by jenkins on 2016-04-12T18:08Z
Compiled with protoc 2.5.0
From source with checksum 94f877675fa68ac3d0cfb48eb692adbb
This command was run using /usr/lib/hadoop/hadoop-common-2.6.0-cdh5.4.10.jar
[root@viper0 Big-Data-Benchmark-for-Big-Bench]# "./bin/bigBench" runBenchmark -m 4 -f 100 -s 2
/root/big-bench/Big-Data-Benchmark-for-Big-Bench/bin/runBenchmark: line 49: java: command not found