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.
Field Summary |
static java.lang.String |
JOB_NAME
|
Method Summary |
static void |
main(java.lang.String[] args)
|
int |
run(java.lang.String[] args)
|
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 java.lang.String JOB_NAME
- See Also:
- Constant Field Values
RunTests
public RunTests()
run
public int run(java.lang.String[] args)
throws java.lang.Exception
- Specified by:
run
in interface org.apache.hadoop.util.Tool
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Parameters:
args
-
- Throws:
java.lang.Exception
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.