HBASE-3111 TestTableMapReduce broken up on hudson; Attempted fix
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1022381 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3d75d323e5
commit
cd2bfd5b6a
|
@ -180,7 +180,6 @@ public class TableMapReduceUtil {
|
|||
job.setOutputKeyClass(ImmutableBytesWritable.class);
|
||||
job.setOutputValueClass(Writable.class);
|
||||
if (partitioner == HRegionPartitioner.class) {
|
||||
HBaseConfiguration.addHbaseResources(conf);
|
||||
job.setPartitionerClass(HRegionPartitioner.class);
|
||||
HTable outputTable = new HTable(conf, table);
|
||||
int regions = outputTable.getRegionsInfo().size();
|
||||
|
@ -340,4 +339,4 @@ public class TableMapReduceUtil {
|
|||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue