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:
Michael Stack 2010-10-14 05:58:54 +00:00
parent 3d75d323e5
commit cd2bfd5b6a
1 changed files with 1 additions and 2 deletions

View File

@ -180,7 +180,6 @@ public class TableMapReduceUtil {
job.setOutputKeyClass(ImmutableBytesWritable.class); job.setOutputKeyClass(ImmutableBytesWritable.class);
job.setOutputValueClass(Writable.class); job.setOutputValueClass(Writable.class);
if (partitioner == HRegionPartitioner.class) { if (partitioner == HRegionPartitioner.class) {
HBaseConfiguration.addHbaseResources(conf);
job.setPartitionerClass(HRegionPartitioner.class); job.setPartitionerClass(HRegionPartitioner.class);
HTable outputTable = new HTable(conf, table); HTable outputTable = new HTable(conf, table);
int regions = outputTable.getRegionsInfo().size(); int regions = outputTable.getRegionsInfo().size();