Return-Path: X-Original-To: apmail-flume-user-archive@www.apache.org Delivered-To: apmail-flume-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 7842F11F44 for ; Thu, 14 Aug 2014 15:06:38 +0000 (UTC) Received: (qmail 14235 invoked by uid 500); 14 Aug 2014 15:06:38 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 14186 invoked by uid 500); 14 Aug 2014 15:06:38 -0000 Mailing-List: contact user-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flume.apache.org Delivered-To: mailing list user@flume.apache.org Received: (qmail 14176 invoked by uid 99); 14 Aug 2014 15:06:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2014 15:06:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of natty@streamsets.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-wg0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2014 15:06:33 +0000 Received: by mail-wg0-f49.google.com with SMTP id k14so1232818wgh.32 for ; Thu, 14 Aug 2014 08:06:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=85/Fb30hWKBS8wCbuiBaBMQNMD5jgLNY6Ng80XnlJbo=; b=MurH7Ax2DtHjx9/janRHLM8Vui/sBw28nmT8npz13dFzJ14yeXjF1SLyKqJfirRnaD gciCRqpdRuBn3rYXHAUkAfPHc3kRSVWFbrF2bcsWIQ33qigJG6j9MyQ/cJQhhQSPloON o4u3rBA4RcBkm6lND31mvLKyY+Ty6DBrRohRN6yAq5lEIwXqh8DVwj/MjNVARx5U1O59 JJjUGXbfdHwbhoYPNhG+YaGLMcCWzYLfZcewkNG3gxBttuQgMypExi9yZfU139V7qgW1 SEMTOG1X+/CS0EM6gcyGZixyECWOJkXW35xLKkY6lThoqy/OLbGb3x16s6QaVW2UVTqF /vdg== X-Gm-Message-State: ALoCoQnI68lZ/pEqxI1S84uoyNv3/Qfx5zjNs4EC1Iyvwxwybs2kB/GHEwzHvI3LlQOtN+3xQfAV MIME-Version: 1.0 X-Received: by 10.194.11.10 with SMTP id m10mr12405897wjb.77.1408028770304; Thu, 14 Aug 2014 08:06:10 -0700 (PDT) Received: by 10.194.249.230 with HTTP; Thu, 14 Aug 2014 08:06:10 -0700 (PDT) X-Originating-IP: [76.126.33.46] In-Reply-To: References: <4089100B-32FA-43D9-AD6A-B256CBB025BC@gmail.com> Date: Thu, 14 Aug 2014 08:06:10 -0700 Message-ID: Subject: Re: The znode for the -ROOT- region doesn't exist! ERROR From: Jonathan Natkins To: "user@flume.apache.org" Content-Type: multipart/alternative; boundary=047d7b5d436eb020270500983e6b X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5d436eb020270500983e6b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yeah, it likely means that your HBase configuration is in interact for using the remote cluster. When you run the Flume agent, can you do a `ps aux | grey flume` and find where the hbase-site.xml is coming from? It's probably /etc/hbase/conf. Look in the file, and can you tell me what the value of the zookeeper quorum parameter is? On Thursday, August 14, 2014, terreyshih wrote: > Hi, > > Actually, the interesting thing is that if I have HBase installed locally > on the same flume server machine but have a hbase-site.xml connecting to = a > remote hbase server, the connection is fine. > > It seems that if I don=E2=80=99t have a local HBase installation, I get t= his error. > > Am I missing something here ? > > thanks, > -Gary > > On Aug 13, 2014, at 5:15 PM, terreyshih > wrote: > > Thanks Natty. Yes, Hari. I am using flume 1.5. I will double check the > configuration again just to make sure. > > thanks > On Aug 13, 2014, at 4:56 PM, Hari Shreedharan > wrote: > > Actually what version of Flume are you using? ROOT was removed in Hbase 9= 6 > I think, you need to use Flume 1.5.0 or higher for asynchbase sink to wor= k. > > > On Wed, Aug 13, 2014 at 4:51 PM, Jonathan Natkins > wrote: > >> Hey Gary, >> >> From the information I've got here, this looks like more of an HBase >> problem than a Flume problem. My recommendation would be to first double >> check that you can run commands against the HBase instance from your Flu= me >> agent node. Try running `hbase shell` and execute a list command. If you >> get complaints, that's probably where your problem is originating from. >> >> Otherwise, it may be that there is an issue with your HBase configuratio= n >> on your Flume agent node. You might not be pointing at the correct >> ZooKeeper quorum, or something along those lines. >> >> Thanks, >> Natty >> >> >> >> On Wed, Aug 13, 2014 at 3:53 PM, terrey shih > > wrote: >> >>> Hi, >>> >>> I have the flume setup using asynchbase sink to write to Hbase server l= ocally and everything works fine on my local machine. >>> >>> However when I configured it to connect to a remote hadoop server using= the hbase-site.xml. I got the following error. >>> >>> >>> >>> >>> >>> >>> ERROR [main-EventThread] (HBaseClient.java:2860) >>> > > - The znode for the -ROOT- region doesn't exist! >>> >>> >>> I did google on this and it seems like it has something to do with the = asynchbase needs to be compatible with 0.96 version of habase (which is the= version I am using). >>> >>> >>> >>> >>> >>> >>> Does that mean I need recompile the whole flume asynchbase source with = the jar files from 0.96 version of the hbase distribution ? >>> >>> Can anybody share some light no this ? >>> >>> thanks, >>> >>> -Gary >>> >>> >> > > > --047d7b5d436eb020270500983e6b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yeah, it likely=C2=A0means that your HBase configuration is in interact for= using the remote cluster. When you run the Flume=C2=A0agent, can you do a = `ps aux | grey flume` and find where the hbase-site.xml is coming from? It&= #39;s probably /etc/hbase/conf. Look in the file, and can you tell me what = the value of the zookeeper quorum parameter is?

On Thursday, August 14, 2014, terreyshih <terreyshih@gmail.com> wrote:
Hi,

Actually, the in= teresting thing is that if I have HBase installed locally on the same flume= server machine but have a hbase-site.xml connecting to a remote hbase serv= er, the connection is fine.

It seems that if I don=E2=80=99t have a local HBase ins= tallation, I get this error.

Am I missing somethin= g here ?

thanks,
-Gary

On Aug 13, 2014, at 5:15 PM, terreyshih <terreys= hih@gmail.com> wrote:

Thanks Natty. =C2=A0Yes, Hari. =C2=A0I am using flume 1.5. =C2=A0I will dou= ble check the configuration again just to make sure.

tha= nks
On Aug 13, 2014, at 4:56 PM, Hari Shreedharan <<= a href=3D"javascript:_e(%7B%7D,'cvml','hshreedharan@cloudera.co= m');" target=3D"_blank">hshreedharan@cloudera.com> wrote:

Actually what version of Flu= me are you using? ROOT was removed in Hbase 96 I think, you need to use Flu= me 1.5.0 or higher for asynchbase sink to work.


On Wed, Aug 13, 2014 at 4:51 PM, Jonathan Natkins <natty@streamsets.com> wrote:
Hey Gary,

From the information I= 9;ve got here, this looks like more of an HBase problem than a Flume proble= m. My recommendation would be to first double check that you can run comman= ds against the HBase instance from your Flume agent node. Try running `hbas= e shell` and execute a list command. If you get complaints, that's prob= ably where your problem is originating from.

Otherwise, it may be that there is an issue with your HBase configurati= on on your Flume agent node. You might not be pointing at the correct ZooKe= eper quorum, or something along those lines.

Thanks,
Natty<= div>



On Wed, Aug 13, 2014 at 3:53 PM, terrey = shih <terreyshih@gmail.com= > wrote:
Hi,

I have the flume setup using asynchbase si= nk to write to Hbase server locally and everything works fine on my local m= achine.

However when I configured it to connect to a remo=
te hadoop server using the hbase-site.xml. I got the following error.

ERROR [main-EventThread] (HBaseClient.java:2860) > > - The znode for the -ROOT- region doesn't exist!


I did google on this and it seems like it has something to do wit= h the asynchbase needs to be compatible with 0.96 version of habase (which = is the version I am using).

Does that mean I need recompile the whole flume asynchbase s=
ource with the jar files from 0.96 version of the hbase distribution ?
<= br>Can anybody share some light no this ?

thanks,
-Gary





--047d7b5d436eb020270500983e6b--