HBASE-13940 IntegrationTestBulkLoad needs option to specify output folders used by test(Rajeshbabu)
This commit is contained in:
parent
3e72dc9f08
commit
168c1b1b73
|
@ -253,7 +253,12 @@ public class IntegrationTestBulkLoad extends IntegrationTestBase {
|
|||
String jobName = IntegrationTestBulkLoad.class.getSimpleName() + " - " +
|
||||
EnvironmentEdgeManager.currentTime();
|
||||
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.reduce.speculative", false);
|
||||
|
|
Loading…
Reference in New Issue