You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 issue reported on code.google.com by
[email protected]
on 2 Dec 2011 at 3:43The text was updated successfully, but these errors were encountered: