]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
update hadoop-wordcount test to be able to run on hadoop 2.x. The hadoop and mapreduc...
authorrootfs <hchen@redhat.com>
Tue, 15 Jul 2014 11:39:32 +0000 (07:39 -0400)
committerrootfs <hchen@redhat.com>
Tue, 15 Jul 2014 11:44:01 +0000 (07:44 -0400)
commitd915ceb0a90c898e6b8f9d39d2a195afbf4c507f
tree4ea247cb85694f6f48652ca333bf36f904e0a922
parent82a3668e7cc63332fd50cbc58a96bca02d1b6c71
update hadoop-wordcount test to be able to run on hadoop 2.x. The hadoop and mapreduce library are no longer hard coded so they can be specified to point to the right path. The relative paths hdfs are changed to absolute paths.
A sample command to run the test on hadoop 2.x is
TESTDIR=/home/test HADOOP_HOME=/usr/lib/hadoop HADOOP_MR_HOME=/usr/lib/hadoop-mapreduce sh workunits/hadoop-wordcount/test.sh starting hadoop-wordcount test

Signed-off-by: rootfs <hchen@redhat.com>
qa/workunits/hadoop-wordcount/test.sh