diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java index 5153474605c..03bc4f0d4c0 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java @@ -391,7 +391,8 @@ public class TableMapReduceUtil { job.setMapOutputKeyClass(outputKeyClass); } job.setMapperClass(mapper); - HBaseConfiguration.addHbaseResources(job.getConfiguration()); + Configuration conf = job.getConfiguration(); + HBaseConfiguration.merge(conf, HBaseConfiguration.create(conf)); List scanStrings = new ArrayList(); for (Scan scan : scans) {