HBASE-4398 If HRegionPartitioner is used in MapReduce, client side configurations are overwritten by hbase-site.xml

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307116 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-03-29 21:23:23 +00:00
parent fbfe3f29e5
commit 89ea8af04f
1 changed files with 1 additions and 2 deletions

View File

@ -120,9 +120,8 @@ implements Configurable {
*/
@Override
public void setConf(Configuration configuration) {
this.conf = configuration;
this.conf = HBaseConfiguration.create(configuration);
try {
HBaseConfiguration.addHbaseResources(conf);
this.table = new HTable(this.conf,
configuration.get(TableOutputFormat.OUTPUT_TABLE));
} catch (IOException e) {