hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shapoor <esmaili_...@yahoo.com>
Subject (HConnectionManager.java:389)
Date Mon, 24 Feb 2014 13:27:58 GMT
hello,
is there a difference in initializing Javaclient for hbase 0.96.1.1 compared
to 0.94 ? 

Configuration hadoopConf = HBaseConfiguration.create();
hadoopConf.set("hbase.zookeeper.quorum", "192.168.111.212");
hadoopConf.set("hbase.zookeeper.property.clientPort", "2181");
HConnection connection = HConnectionManager.createConnection(hadoopConf);

leads to the following with 0.96.1.1 :

java.io.IOException: java.lang.reflect.InvocationTargetException
        at
org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:389)
        at
org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:366)
        at
org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:247)
        at
org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:183)

regards and thx,



--
View this message in context: http://apache-hbase.679495.n3.nabble.com/HConnectionManager-java-389-tp4056268.html
Sent from the HBase User mailing list archive at Nabble.com.

Mime
View raw message