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 <[email protected]>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 <[email protected]
> >wrote:
>
> > On Tue, Apr 22, 2014 at 9:00 AM, yeshwanth kumar <[email protected]
> > >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 <
> [email protected]
> > >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 <
> > [email protected]
> > > > >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
> > > > >
> > > >
> > >
> >
>

Reply via email to