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 Plain View
HBase >> mail # user >> Need Help on hbase error: The znode for the -ROOT- region doesn't exist!


+
S. Zhou 2013-08-30, 23:44
+
Ted Yu 2013-08-31, 00:39
+
anil gupta 2013-09-02, 16:36
+
Ted Yu 2013-09-02, 16:47
Copy link to this message
-
Re: Need Help on hbase error: The znode for the -ROOT- region doesn't exist!
Hello there,

Looks like some problem with RS holding the -ROOT-. Please make sure it's
up and running. Showing us the logs would be helpful.

Warm Regards,
Tariq
cloudfront.blogspot.com
On Sat, Aug 31, 2013 at 5:14 AM, S. Zhou <[EMAIL PROTECTED]> wrote:

> I wrote a java program which connects to hbase (I am using asynchbase).
> At this time
> hbase/hadoop are all running on my local dev box as pseudo cluster. I
> believe hbase/hadoop are all setup correctly since I can create hbase
> tables, update hbase tables, run MR jobs etc.
>
> The problem is:
> when I use asynhbase connect hbase, I always get the following error
> message: (see more log entries at the bottom of this message)
>
> =2013-08-30 15:15:21,892 ERROR [main-EventThread] (HBaseClient.java:2860)
> - The znode for the -ROOT- region doesn't exist!
>
> I googled but could not find any answer. Your help is highly appreciated.
>
> Related info: I am using asynchbase 1.4.1, hadoop 1.2.0, hbase
> 0.95.1-hadoop1.  (The hbase client used by my Java is version 0.94.0. I
> could not find jar file for 0.95.1-hadoop1. It is listed on maven central
> repository but it seems mis-configured and I could not download it).
>
> Here are more detail log info:
> =2013-08-30 15:15:21,824  INFO [main] (ZooKeeper.java:433) - Initiating
> client connection, connectString=127.0.0.1:2181 sessionTimeout=5000
> watcher=org.hbase.async.
> HBaseClient$ZKClient@3d32e42f
> =2013-08-30 15:15:21,849  INFO [main] (HBaseClient.java:2695) - Need to
> find the -ROOT- region
> =2013-08-30 15:15:21,850  INFO [main-SendThread()] (ClientCnxn.java:933) -
> Opening socket connection to server /127.0.0.1:2181
> =2013-08-30 15:15:21,853  INFO [main-SendThread(localhost:2181)]
> (ZooKeeperSaslClient.java:125) - Client will not SASL-authenticate
> because the default JAAS configuration section 'Client' could not be
> found. If you are not using SASL, you may ignore this. On the other
> hand, if you expected SASL to work, please fix your JAAS configuration.
> =2013-08-30 15:15:21,859  INFO [main-SendThread(localhost:2181)]
> (ClientCnxn.java:846) - Socket connection established to localhost/
> 127.0.0.1:2181, initiating session
> =2013-08-30 15:15:21,884  INFO [main-SendThread(localhost:2181)]
> (ClientCnxn.java:1175) - Session establishment complete on server localhost/
> 127.0.0.1:2181, sessionid = 0x140d06a475e000d, negotiated timeout = 6000
> =2013-08-30 15:15:21,892 ERROR [main-EventThread] (HBaseClient.java:2860)
> - The znode for the -ROOT- region doesn't exist!
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