...
Code Block |
---|
ant -Dharness.old.pig=old_pig -Dharness.cluster.conf=hadoop_conf_dir -Dharness.cluster.bin=hadoop_script -Dharness.hadoop.home=hadoop_home_dir test-e2e |
Run with test-e2e-tez
instead of test-e2e
to run tests with Tez as execution engine.
Running the full test suite is rarely what you want, as it takes around 10 hours. If you are running against a cluster with more capacity, you can speedup the execution of the tests by parallelizing it. The fork.factor.conf.file
property tells how many test conf files to run in parallel. The fork.factor.group
property tells how many groups to run in parallel within each test file. Within a group, each tests are run sequentially. For eg: -Dfork.factor.conf.file=2 -Dfork.factor.group=5
will run 2 test files and 5 groups in each totaling 10 tests in parallel.
To run only some tests, set the tests.to.run
property. This value can be passed a group of tests (e.g. Checkin), or a single test (e.g. Checkin_1). You can pass multiple tests or groups in this property. Each test or group of tests must be proceeded by a {{-t }}. For example, to run the Checkin tests and the first MergeJoin test, do:
...