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 2246511D8B for ; Fri, 25 Apr 2014 06:01:46 +0000 (UTC) Received: (qmail 98222 invoked by uid 500); 25 Apr 2014 06:01:43 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 97115 invoked by uid 500); 25 Apr 2014 06:01:32 -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 96734 invoked by uid 99); 25 Apr 2014 06:01:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 06:01:29 +0000 X-ASF-Spam-Status: No, hits=2.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yeshwanth43@gmail.com designates 209.85.219.47 as permitted sender) Received: from [209.85.219.47] (HELO mail-oa0-f47.google.com) (209.85.219.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 06:01:25 +0000 Received: by mail-oa0-f47.google.com with SMTP id i11so3716728oag.6 for ; Thu, 24 Apr 2014 23:01:05 -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=7SNzkl8JcEbKi6i82emuUZhGM3x9zSSmjoTS2r+3fOQ=; b=uoE597NJ4QoPYtLWYhcr6zYa0IPoBOXyiQD4jfcfcj0nOnRBYgmMnLMOKnd4AJHg7c VmaG0h/QaNfbfem8d6dJ50N/twJ7wtCJVYmM4gSt0aBX4g3GST2gYOD82JSDIy+fIeEH xdVtjAEaw2dcC5Q8572JnAulqxE7jgu21d4jX9WKpY6gpWP3VPsq5uL+5eatH4jM7JHz mOhFRoWcPuPzWPKr2JoI0Zp8d3cJiTyiy6N2Xxo/jQRVIVt/sW3iW4bYuT89kA+Hy7iQ 1Jk1kjU4yKnHFvWd9HpL525lYzP1RSvJiBoM8zg6T58+u2XDRwwQGKzZzko4fiKyA+9u 9Xow== MIME-Version: 1.0 X-Received: by 10.182.24.226 with SMTP id x2mr5334519obf.13.1398405664935; Thu, 24 Apr 2014 23:01:04 -0700 (PDT) Received: by 10.182.24.230 with HTTP; Thu, 24 Apr 2014 23:01:04 -0700 (PDT) In-Reply-To: References: Date: Fri, 25 Apr 2014 11:31:04 +0530 Message-ID: Subject: Re: Unable to get data of znode /hbase/table/mytable. From: yeshwanth kumar To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=001a11c3031ae9162f04f7d7b010 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3031ae9162f04f7d7b010 Content-Type: text/plain; charset=UTF-8 hi matteo, my problem isn't solved yet. webapp isn't reading data from hbase. all i see in logs is znode /hbase/table/mytable doesn't exist. but all my tables are present in /hbase/table94/ so how can i fix this problem. thanks, yeshwanth On Tue, Apr 22, 2014 at 9:58 PM, Matteo Bertozzi wrote: > that is already done by the server. > The ZooKeeperWatcher.java is using conf.get( > "zookeeper.znode.masterTableEnableDisable", "table94")); > > anyway, why are you looking at the znodes? > a client application should never look at the znodes. > The znodes are only carrying transient informations used for coordination > > Matteo > > > > On Tue, Apr 22, 2014 at 9:20 AM, yeshwanth kumar >wrote: > > > hi matteo, > > > > how do i specify hbase znode to use /hbase/table94 instead of > /hbase/table > > > > thanks > > > > > > On Tue, Apr 22, 2014 at 9:40 PM, Matteo Bertozzi < > theo.bertozzi@gmail.com > > >wrote: > > > > > On Tue, Apr 22, 2014 at 9:00 AM, yeshwanth kumar < > yeshwanth43@gmail.com > > > >wrote: > > > > > > > @matteo > > > > present znode is at /hbase/table where it is empty. > > > > where as all my tables are present in /hbase/table94 > > > > now webapp isn't reading the data from hbase. > > > > > > > > > > cdh 4.5.0 doesn't write in /hbase/table due to a compatibility issue > > > /hbase/table94 > > > is used. > > > (see HBASE-6710 for details) > > > > > > On Tue, Apr 22, 2014 at 6:56 PM, Matteo Bertozzi < > > theo.bertozzi@gmail.com > > > >wrote: > > > > > > > > > > > > /hbase/table94 is a "compatibility" znode that replaces > /hbase/table > > > > > if you want more details take a look at HBASE-6710. > > > > > > > > > > what is the problem of looking into /hbase/table94 instead of > > > > /hbase/table? > > > > > > > > > > Matteo > > > > > > > > > > > > > > > > > > > > On Tue, Apr 22, 2014 at 5:18 AM, yeshwanth kumar < > > > yeshwanth43@gmail.com > > > > > >wrote: > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > i am running webapp written on jaxrs framework which performs > CRUD > > > > > > opereations on hbase. > > > > > > > > > > > > app was working fine till last week, > > > > > > now when i perform reading opeartion from hbase i don't see any > > > data, > > > > i > > > > > > don't see any errors or exceptions but i found this lines in the > > log > > > > > > > > > > > > *""Unable to get data of znode /hbase/table/myTable because node > > does > > > > not > > > > > > exist (not an error)"".* > > > > > > > > > > > > i followed this< > > > > > > https://blog.cloudera.com/blog/2013/10/what-are-hbase-znodes/> > > > > > > cloudera > > > > > > article about znodes and this is what i found, > > > > > > > > > > > > *$[zk: localhost:2181(CONNECTED) 14] ls /hbase* > > > > > > *[splitlog, online-snapshot, unassigned, table94, > > root-region-server, > > > > rs, > > > > > > backup-masters, table, draining, master, shutdown, hbaseid]* > > > > > > > > > > > > all the tables were present in /hbase/table94, where as > > /hbase/table > > > is > > > > > > empty. > > > > > > > > > > > > i know what is the problem now, > > > > > > but i don't know how to solve it. > > > > > > > > > > > > can someone help me with this issue. > > > > > > > > > > > > Thanks, > > > > > > Yeshwanth > > > > > > > > > > > > > > > > > > > > > --001a11c3031ae9162f04f7d7b010--