Check your host entry it is resolving the local host first and not the actual 
ip fix that then reboot the server.

Sent from my iPhone

On Dec 29, 2011, at 12:55 PM, "James Pettyjohn" <[email protected]> wrote:

> Hey, 
> 
> This is my first time setting up a HBase instance (I'm using CDH3u2). The
> cluster has
> been up for a while, trying to use HBase now with 1 master and 3 slaves. 
> 
> I am getting log messages in the hbase.out of: 
> zookeeper.ClientCnxn: Opening socket connection to server
> localhost/127.0.0.1:2181
> 
> and then a connection refused. 
> 
> I don't know why it's looking to localhost for this - the zookeeper is
> running on node1 (resolves to :10.x.x.21) while the machine trying to get
> to it is node4 (resolves to 10.x.x.24). 
> 
> The base-site.xml is:
> 
> <property>
> <name>hbase.cluster.distributed</name>
> <value>true</value>
> </property>
> 
> <property>
> <name>hbase.rootdir</name>
> <value>hdfs://node1/hbase</value>
> </property>
> 
> <property>
> <name>hbase.zookeeper.quorom</name>
> <value>node1</value>
> </property>
> 
> It is reading this file in some respect, whether it's using the values I'm
> 
> not sure - but if the file is misformatted it will bail out with a parsing
> error.
> 
> Thanks in advance,
> James

Reply via email to