You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Bharadwaj Yadati <bh...@oneconvergence.com> on 2012/10/08 15:43:14 UTC

Zookeeper error in case of multinode hbase cluster

Hi,

I created 2 node hbase cluster with master and a slave .When i try to list
the tables present in hbase  from master and slave , its working fine .But
,if i tried scaning the table or creating a new table or scanning after
this, i 'm getting the following errors

error 1: (in master)

12/10/08 18:53:31 ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists
failed after 3 retries
12/10/08 18:53:31 WARN zookeeper.ZKUtil: hconnection Unable to set watcher
on znode /hbase/master  ---

error 2 :(in master)

ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 times

error 3 : ( in slave )

ERROR: org.apache.hadoop.hbase.
PleaseHoldException: org.apache.hadoop.hbase.PleaseHoldException: Master is
initializing

Here is some help for this command:
Create table; pass table name, a dictionary of specifications per
column family, and optionally a dictionary of table configuration.
Dictionaries are described below in the GENERAL NOTES section.



My zookeeper configuration in hbase-env.sh is
export HBASE_MANAGES_ZK=true


Please help me out in solving it .

Thanks,
Bharadwaj

Re: Zookeeper error in case of multinode hbase cluster

Posted by Marcos Ortiz <ml...@uci.cu>.
Can you send to us the jps output in your master and slave nodes?
It seems that you Zookeeper service is not working

In distributed clusters, is a recommended practice to keep the Zookeeper 
quorum outside from you
HBase Master node.


On 10/08/2012 09:43 AM, Bharadwaj Yadati wrote:
> Hi,
>
> I created 2 node hbase cluster with master and a slave .When i try to list
> the tables present in hbase  from master and slave , its working fine .But
> ,if i tried scaning the table or creating a new table or scanning after
> this, i 'm getting the following errors
>
> error 1: (in master)
>
> 12/10/08 18:53:31 ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists
> failed after 3 retries
> 12/10/08 18:53:31 WARN zookeeper.ZKUtil: hconnection Unable to set watcher
> on znode /hbase/master  ---
>
> error 2 :(in master)
>
> ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 times
>
> error 3 : ( in slave )
>
> ERROR: org.apache.hadoop.hbase.
> PleaseHoldException: org.apache.hadoop.hbase.PleaseHoldException: Master is
> initializing
>
> Here is some help for this command:
> Create table; pass table name, a dictionary of specifications per
> column family, and optionally a dictionary of table configuration.
> Dictionaries are described below in the GENERAL NOTES section.
>
>
>
> My zookeeper configuration in hbase-env.sh is
> export HBASE_MANAGES_ZK=true
>
>
> Please help me out in solving it .
>
> Thanks,
> Bharadwaj
>
>
> 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
> CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
>
> http://www.uci.cu
> http://www.facebook.com/universidad.uci
> http://www.flickr.com/photos/universidad_uci

-- 

Marcos Luis Ortíz Valmaseda
*Data Engineer && Sr. System Administrator at UCI*
about.me/marcosortiz <http://about.me/marcosortiz>
My Blog <http://marcosluis2186.posterous.com>
Tumblr's blog <http://marcosortiz.tumblr.com/>
@marcosluis2186 <http://twitter.com/marcosluis2186>



10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci