hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shapoor <esmaili_...@yahoo.com>
Subject Re: (HConnectionManager.java:389)
Date Tue, 25 Feb 2014 10:16:52 GMT
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.

Mime
View raw message