org.apache.accumulo.server.test.functional
Class RunTests
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.accumulo.server.test.functional.RunTests
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class RunTests
- extends org.apache.hadoop.conf.Configured
- implements org.apache.hadoop.util.Tool
Runs the functional tests via map-reduce.
First, be sure everything is compiled.
Second, get a list of the tests you want to run:
$ python test/system/auto/run.py -l > tests
Put the list of tests into HDFS:
$ hadoop fs -put tests /user/hadoop/tests
Run the map-reduce job:
$ ./bin/accumulo accumulo.server.test.functional.RunTests /user/hadoop/tests /user/hadoop/results
Note that you will need to have some configuration in conf/accumulo-site.xml (to locate zookeeper). The map-reduce jobs will not use your local accumulo
instance.
Methods inherited from class org.apache.hadoop.conf.Configured |
getConf, setConf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.conf.Configurable |
getConf, setConf |
JOB_NAME
public static final String JOB_NAME
- See Also:
- Constant Field Values
RunTests
public RunTests()
run
public int run(String[] args)
throws Exception
- Specified by:
run
in interface org.apache.hadoop.util.Tool
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Parameters:
args
-
- Throws:
Exception
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.