Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> connection error to remote hbase node


Copy link to this message
-
Re: connection error to remote hbase node
Richard,

Do you perhaps have a stray /etc/zookeeper/zoo.cfg file lying around
on your client node?

I think the issue may be that its picking up a default of localhost
from reading an non-configured zoo.cfg on the classpath.

On Sun, Sep 2, 2012 at 7:08 PM, Richard Tang <[EMAIL PROTECTED]> wrote:
> Hi, I have a connection problem on setting up hbase on remote node. The
> ``hbase`` instance is on a machine ``nodeA``. when I am trying to use hbase
> on ``nodeA`` from another machine (say ``nodeB``), it complains
>
>> Session 0x0 for server null, unexpected error, closing socket connection
> and attempting reconnect
>
>> java.net.ConnectException: Connection refused
>
>> ...
>
> Also, I used hbase shell from ``nodeB`` to test hbase against ``nodeA``,
> but still without success. In the shell, when issuing ``list``, it gets
> stuck there...
>
> To diagnose, I can however run following test program with success.
> 1.zkcli utility can be tested against zookeeper on ``ndoeA``, as
>
>> ./bin/hbase zkcli -server nodeA:2181
>
> 2.I can also successfully ``ssh`` to the node, like ``ssh -X root@nodeA``.
> What could possibly be the reason for that error?
>
> regards,
> Tang

--
Harsh J
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB