CONF, Lists.newArrayList(createPOLoadWithSize(size, new PigStorage())),
new org.apache.hadoop.mapreduce.Job(CONF)));
Assert.assertEquals(size, InputSizeReducerEstimator.getTotalInputFileSize(
CONF,
Lists.newArrayList(createPOLoadWithSize(size, new PigStorageWithStatistics())),
new org.apache.hadoop.mapreduce.Job(CONF)));
Assert.assertEquals(size * 2, InputSizeReducerEstimator.getTotalInputFileSize(
CONF,
Lists.newArrayList(
createPOLoadWithSize(size, new PigStorage()),
createPOLoadWithSize(size, new PigStorageWithStatistics())),
new org.apache.hadoop.mapreduce.Job(CONF)));
// Negative test - PIG-3754
POLoad poLoad = createPOLoadWithSize(size, new PigStorage());
poLoad.setLFile(new FileSpec("hbase://users", null));