HBASE-13940 IntegrationTestBulkLoad needs option to specify output folders used by test(Rajeshbabu)
This commit is contained in:
parent
5a24d16f4c
commit
be5c1c7a21
|
@ -253,7 +253,12 @@ public class IntegrationTestBulkLoad extends IntegrationTestBase {
|
||||||
String jobName = IntegrationTestBulkLoad.class.getSimpleName() + " - " +
|
String jobName = IntegrationTestBulkLoad.class.getSimpleName() + " - " +
|
||||||
EnvironmentEdgeManager.currentTime();
|
EnvironmentEdgeManager.currentTime();
|
||||||
Configuration conf = new Configuration(util.getConfiguration());
|
Configuration conf = new Configuration(util.getConfiguration());
|
||||||
Path p = util.getDataTestDirOnTestFS(getTablename() + "-" + iteration);
|
Path p = null;
|
||||||
|
if (conf.get(ImportTsv.BULK_OUTPUT_CONF_KEY) == null) {
|
||||||
|
p = util.getDataTestDirOnTestFS(getTablename() + "-" + iteration);
|
||||||
|
} else {
|
||||||
|
p = new Path(conf.get(ImportTsv.BULK_OUTPUT_CONF_KEY));
|
||||||
|
}
|
||||||
|
|
||||||
conf.setBoolean("mapreduce.map.speculative", false);
|
conf.setBoolean("mapreduce.map.speculative", false);
|
||||||
conf.setBoolean("mapreduce.reduce.speculative", false);
|
conf.setBoolean("mapreduce.reduce.speculative", false);
|
||||||
|
|
Loading…
Reference in New Issue