Open GoogleCodeExporter opened 9 years ago
I had to change the code to pick zookeeper client port from configuration.
AND replace HBaseConfiguration instantiation to simple Configuration instance.
I was getting a bunch of exceptions without these 2 changes.
Config ---
<dataSource type="HbaseDataSource" name="HBase" host="10.77.33.190"
port="2181"/>
Code ---
String port = arg1.getProperty("port");
Configuration config = new Configuration();
config.set(HConstants.ZOOKEEPER_QUORUM, host);
config.set("hbase.zookeeper.property.clientPort", port);
tablePool = new HTablePool(config, poolMaxSize);
Original comment by Priyadar...@gmail.com
on 19 Jun 2012 at 9:49
Original issue reported on code.google.com by
gm.tagli...@gmail.com
on 2 Dec 2011 at 3:43