Hi,

I found that HRegionPartitioner has the same problem as HBASE-3111.

Some tests I'm writing for MapReduce using HRegionPartitioner don't succeed
because HRegionPartitioiner overwrites the test specific configuration
"hbase.zookeeper.property.clientPort" : 21818
with that in hbase-site.xml (or hbase-default.xml).

I think this is caused by
"HBaseConfiguration.addHbaseResources(conf);" in
HRegionPartitioner#setConf(Configuration).


You can check this situation using TestTableMapReduce.

Add HRegionPartitioner.class to the 4th argument of
TableMapReduceUtil#initTableReducerJob().
And delete "hbase.zookeeper.property.clientPort" property from
hbase-site.xml or change it.


Thanks.

-- 
Takuya UESHIN
Tokyo, Japan

http://twitter.com/ueshin

Reply via email to