Hi Anil.

I did not check this in 0.98.
By default when ever we add a peer, its state will be ENABLED.

There is no child node for peer-state so its 'ls' output will be empty, you
can use ZK 'get' command to find its value but the output will not be in
human readable format.

To check the peer-state value you can use zk_dump command in hbase shell or
from web UI.

Did you find any errors in the RS logs for replication ?

Regards,
Ashish Singhi

On Wed, Oct 14, 2015 at 5:04 AM, anil gupta <[email protected]> wrote:

> I found that those command are deprecated as per this Jira:
> https://issues.apache.org/jira/browse/HBASE-8861
>
> Still, after enabling peers the replication is not starting. We looked into
> zk. Its peer state value is null/blank:
> zknode:  ls /hbase-unsecure/replication/peers/prod-hbase/peer-state
> []
>
> Can anyone tell me what is probably going on?
>
> On Tue, Oct 13, 2015 at 3:56 PM, anil gupta <[email protected]> wrote:
>
> > Hi All,
> >
> > I am using HBase 0.98(HDP2.2).
> > As per the documentation here:
> >
> >
> http://www.cloudera.com/content/cloudera/en/documentation/cdh4/v4-3-1/CDH4-Installation-Guide/cdh4ig_topic_20_11.html
> >
> > I am trying to run start_replication command. But, i m getting following
> > error:
> > hbase(main):013:0> start_replication
> > NameError: undefined local variable or method `start_replication' for
> > #<Object:0xac577b>
> >
> > Is start_replication not a valid command in HBase0.98? If its deprecated
> > then what is the alternate command?
> >
> > --
> > Thanks & Regards,
> > Anil Gupta
> >
>
>
>
> --
> Thanks & Regards,
> Anil Gupta
>

Reply via email to