hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yeshwanth kumar <yeshwant...@gmail.com>
Subject Re: Unable to get data of znode /hbase/table/mytable.
Date Fri, 25 Apr 2014 06:01:04 GMT
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 <theo.bertozzi@gmail.com>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 <yeshwanth43@gmail.com
> >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
> > > > > >
> > > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message