This is already in my hbase-site.xml file:

  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://192.168.111.210:8020/hbase</value>
    <description>The directory shared by RegionServers.
    </description>
  </property>

The Code is simple:

Configuration hadoopConf = HBaseConfiguration.create();
hadoopConf.set("hbase.zookeeper.quorum", "192.168.111.212");
hadoopConf.set("hbase.zookeeper.property.clientPort", "2181");
// hadoopConf.set("hbase.rootdir", "hdfs://192.168.111.210:8020/hbase");
//!!?? this is not eeded        
HConnection connection = HConnectionManager.createConnection(hadoopConf);

And like I said it always worked with hbase-0.94, but with 0.96.1.1-hadoop2
comes the exception.

I wonder what could be wrong here!!

regards,




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

Reply via email to