Skip to content

Commit 92500cf

Browse files
committed
Merge pull request Intel-bigdata#31 from jaloren/master
fixes Intel-bigdata#30 where unbound variables cause the shell script to exit.
2 parents 7248589 + 71f9f25 commit 92500cf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bin/hibench-config.sh

+8
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ export HIBENCH_VERSION="2.2"
2727
HADOOP_EXECUTABLE=
2828
HADOOP_CONF_DIR=
2929
HADOOP_EXAMPLES_JAR=
30+
HADOOP_HOME=`printenv HADOOP_HOME`
31+
HADOOP_EXECUTABLE=`printenv HADOOP_EXECUTABLE`
32+
HIBENCH_HOME=`printenv HIBENCH_HOME`
33+
HIBENCH_CONF=`printenv HIBENCH_CONF`
34+
HIVE_HOME=`printenv HIVE_HOME`
35+
MAHOUT_HOME=`printenv MAHOUT_HOME`
36+
NUTCH_HOME=`printenv NUTCH_HOME`
37+
DATATOOLS=`printenv DATATOOLS`
3038

3139
if [ -n "$HADOOP_HOME" ]; then
3240
HADOOP_EXECUTABLE=$HADOOP_HOME/bin/hadoop

0 commit comments

Comments
 (0)