Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 904B710665 for ; Sat, 31 Aug 2013 00:39:57 +0000 (UTC) Received: (qmail 970 invoked by uid 500); 31 Aug 2013 00:39:55 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 920 invoked by uid 500); 31 Aug 2013 00:39:55 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 912 invoked by uid 99); 31 Aug 2013 00:39:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2013 00:39:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.215.53 as permitted sender) Received: from [209.85.215.53] (HELO mail-la0-f53.google.com) (209.85.215.53) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2013 00:39:49 +0000 Received: by mail-la0-f53.google.com with SMTP id el20so2003910lab.26 for ; Fri, 30 Aug 2013 17:39:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ir1zfV+5ZWVtQVxfHL5yhHf9qZGs9MVi9oLUZvx4ZEE=; b=IbZ8JHCUQ6g52I82tO4geW6rakVKA+c5P53Xjn+T8wsAg8oVpRApBBMSMudf+qUmk9 Qbp/yB0YEopGzqZSaYiPFy0/j2Wc47xrc+A20FifDyWc7vXDK1WicxwirbH8IbZjxUZY VobKAYqHGGZ7cbUCykq7f+OHkqcbaG0+1c74PdhusT8nntRG+4s0CVHit6M/akIMT+Mm YjRlHjb972PwcgfCXArR5xZ/bl81270UKKlkckNJxFI2Bwx+VWBLeP+ORUDNDirZ4nS3 TaAG9FP2n4oq69Mwdp6kWiU7vrOsXr6ElbqQQmmBWtxQsD/T8lmeYMZwNDGkyTedGLGN 5+2Q== MIME-Version: 1.0 X-Received: by 10.112.167.3 with SMTP id zk3mr9922571lbb.23.1377909568317; Fri, 30 Aug 2013 17:39:28 -0700 (PDT) Received: by 10.112.129.40 with HTTP; Fri, 30 Aug 2013 17:39:28 -0700 (PDT) In-Reply-To: <1377906272.15654.YahooMailNeo@web120901.mail.ne1.yahoo.com> References: <1376621401.73603.YahooMailNeo@web120906.mail.ne1.yahoo.com> <1377904374.22830.YahooMailNeo@web120902.mail.ne1.yahoo.com> <1377906272.15654.YahooMailNeo@web120901.mail.ne1.yahoo.com> Date: Fri, 30 Aug 2013 17:39:28 -0700 Message-ID: Subject: Re: Need Help on hbase error: The znode for the -ROOT- region doesn't exist! From: Ted Yu To: "user@hbase.apache.org" , "S. Zhou" Content-Type: multipart/alternative; boundary=001a11c264a45a2bdd04e53392f5 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c264a45a2bdd04e53392f5 Content-Type: text/plain; charset=ISO-8859-1 -ROOT- table is gone in 0.95 / 0.96 Looks like newer release of asynchbase is needed which can communicate with 0.96 cluster. Cheers On Fri, Aug 30, 2013 at 4:44 PM, S. Zhou 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! --001a11c264a45a2bdd04e53392f5--