hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anil gupta <anilgupt...@gmail.com>
Subject Re: start_replication command not available in hbase shell in HBase0.98
Date Wed, 28 Oct 2015 00:19:46 GMT
Hi Ashish,

Sorry for such a late reply.

We had a "-" in peer name so we ran into
https://issues.apache.org/jira/browse/HBASE-11394.
Thanks for offering help.

~Anil

On Tue, Oct 13, 2015 at 8:40 PM, Ashish Singhi <
ashish.singhi.apache@gmail.com> wrote:

> 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 <anilgupta84@gmail.com> 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 <anilgupta84@gmail.com>
> 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
> >
>



-- 
Thanks & Regards,
Anil Gupta

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