Skip to content

Commit

Permalink
hadoop: workunits don't need java path
Browse files Browse the repository at this point in the history
Signed-off-by: Noah Watkins <[email protected]>
  • Loading branch information
dotnwat committed Feb 25, 2015
1 parent 1fa56d9 commit b3329a9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions qa/workunits/hadoop/repl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions qa/workunits/hadoop/terasort.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ num_records=100000
# 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 $INPUT $OUTPUT $REPORT || true

Expand Down
2 changes: 0 additions & 2 deletions qa/workunits/hadoop/wordcount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b3329a9

Please sign in to comment.