]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
testing: update wordcount to new code layout.
authorJoe Buck <jbbuck@gmail.com>
Tue, 12 Mar 2013 07:04:23 +0000 (00:04 -0700)
committerJoe Buck <jbbuck@gmail.com>
Tue, 12 Mar 2013 08:23:35 +0000 (01:23 -0700)
Signed-off-by: Joe Buck <jbbuck@gmail.com>
qa/workunits/hadoop-wordcount/test.sh

index 0ba63bb9c167897b78e56a9383183bcba21fdd20..5d3f4ccc54f822bbbcfef4667af71b68062282a3 100755 (executable)
@@ -10,9 +10,9 @@ command1="mkdir -p $TESTDIR/hadoop_input"
 command2="wget http://ceph.com/qa/hadoop_input_files.tar -O $TESTDIR/hadoop_input/files.tar"
 command3="cd $TESTDIR/hadoop_input"
 command4="tar -xf $TESTDIR/hadoop_input/files.tar"
-command5="$TESTDIR/hadoop/bin/hadoop fs -mkdir wordcount_input"
-command6="$TESTDIR/hadoop/bin/hadoop fs -put $TESTDIR/hadoop_input/*txt wordcount_input/"
-command7="$TESTDIR/hadoop/bin/hadoop jar $TESTDIR/hadoop/build/hadoop-example*jar wordcount wordcount_input wordcount_output"
+command5="$TESTDIR/apache_hadoop/bin/hadoop fs -mkdir wordcount_input"
+command6="$TESTDIR/apache_hadoop/bin/hadoop fs -put $TESTDIR/hadoop_input/*txt wordcount_input/"
+command7="$TESTDIR/apache_hadoop/bin/hadoop jar $TESTDIR/apache_hadoop/build/hadoop-example*jar wordcount wordcount_input wordcount_output"
 command8="rm -rf $TESTDIR/hadoop_input"