diff --git a/qa/workunits/hadoop/repl.sh b/qa/workunits/hadoop/repl.sh index 2284cce0003e9..f2e9fccbd3089 100755 --- a/qa/workunits/hadoop/repl.sh +++ b/qa/workunits/hadoop/repl.sh @@ -9,8 +9,6 @@ set -x # if HADOOP_PREFIX is not set, use default [ -z $HADOOP_PREFIX ] && { HADOOP_PREFIX=$TESTDIR/hadoop; } -export JAVA_HOME=/usr/lib/jvm/default-java - # create pools with different replication factors for repl in 2 3 7 8 9; do name=hadoop.$repl diff --git a/qa/workunits/hadoop/wordcount.sh b/qa/workunits/hadoop/wordcount.sh index da91929fcdc74..99e1e8ff89748 100755 --- a/qa/workunits/hadoop/wordcount.sh +++ b/qa/workunits/hadoop/wordcount.sh @@ -15,8 +15,6 @@ echo "starting hadoop-wordcount test" # if HADOOP_PREFIX is not set, use default [ -z $HADOOP_PREFIX ] && { HADOOP_PREFIX=$TESTDIR/hadoop; } -export JAVA_HOME=/usr/lib/jvm/default-java - # Nuke hadoop directories $HADOOP_PREFIX/bin/hadoop fs -rm -r $WC_INPUT $WC_OUTPUT || true