You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by gomes <sa...@gmail.com> on 2014/12/01 04:35:11 UTC

Is there anyway I can list out history of transitions made by a region?

I want to figure out all the movements made by a region given a time
interval. This will be useful for debugging purposes. 

For example if region A moved from S1 -> S2 -> S3. I want to get all the
server names. Is there any tools available already?



--
View this message in context: http://apache-hbase.679495.n3.nabble.com/Is-there-anyway-I-can-list-out-history-of-transitions-made-by-a-region-tp4066484.html
Sent from the HBase User mailing list archive at Nabble.com.

RE: Is there anyway I can list out history of transitions made by a region?

Posted by Bijieshan <bi...@huawei.com>.
All possible scenarios:
 1. Assignments during cluster start-up or restart.
 2. RegionServer failover.
 3. Load balance.
 4. Movement triggered manually.

I worry about that it will bring a lot of audit log. Should we figure out the key scenarios and log them as different level?

Jieshan.
________________________________________
From: Ted Yu [yuzhihong@gmail.com]
Sent: Tuesday, December 02, 2014 8:05 AM
To: user@hbase.apache.org
Subject: Re: Is there anyway I can list out history of transitions made by a region?

+1 to Sean's suggestion.

On Mon, Dec 1, 2014 at 4:01 PM, Sean Busbey <bu...@cloudera.com> wrote:

> Is this something we should be adding to our AUDIT log?
>
> On Sun, Nov 30, 2014 at 10:07 PM, Ted Yu <yu...@gmail.com> wrote:
>
> > To my knowledge, there is no such tool.
> >
> > You can grep master log for region A which would give you history of the
> > region's movement.
> >
> > Cheers
> >
> > On Sun, Nov 30, 2014 at 7:35 PM, gomes <sa...@gmail.com> wrote:
> >
> > > I want to figure out all the movements made by a region given a time
> > > interval. This will be useful for debugging purposes.
> > >
> > > For example if region A moved from S1 -> S2 -> S3. I want to get all
> the
> > > server names. Is there any tools available already?
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://apache-hbase.679495.n3.nabble.com/Is-there-anyway-I-can-list-out-history-of-transitions-made-by-a-region-tp4066484.html
> > > Sent from the HBase User mailing list archive at Nabble.com.
> > >
> >
>
>
>
> --
> Sean
>

Re: Is there anyway I can list out history of transitions made by a region?

Posted by Ted Yu <yu...@gmail.com>.
+1 to Sean's suggestion.

On Mon, Dec 1, 2014 at 4:01 PM, Sean Busbey <bu...@cloudera.com> wrote:

> Is this something we should be adding to our AUDIT log?
>
> On Sun, Nov 30, 2014 at 10:07 PM, Ted Yu <yu...@gmail.com> wrote:
>
> > To my knowledge, there is no such tool.
> >
> > You can grep master log for region A which would give you history of the
> > region's movement.
> >
> > Cheers
> >
> > On Sun, Nov 30, 2014 at 7:35 PM, gomes <sa...@gmail.com> wrote:
> >
> > > I want to figure out all the movements made by a region given a time
> > > interval. This will be useful for debugging purposes.
> > >
> > > For example if region A moved from S1 -> S2 -> S3. I want to get all
> the
> > > server names. Is there any tools available already?
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://apache-hbase.679495.n3.nabble.com/Is-there-anyway-I-can-list-out-history-of-transitions-made-by-a-region-tp4066484.html
> > > Sent from the HBase User mailing list archive at Nabble.com.
> > >
> >
>
>
>
> --
> Sean
>

Re: Is there anyway I can list out history of transitions made by a region?

Posted by Sean Busbey <bu...@cloudera.com>.
Is this something we should be adding to our AUDIT log?

On Sun, Nov 30, 2014 at 10:07 PM, Ted Yu <yu...@gmail.com> wrote:

> To my knowledge, there is no such tool.
>
> You can grep master log for region A which would give you history of the
> region's movement.
>
> Cheers
>
> On Sun, Nov 30, 2014 at 7:35 PM, gomes <sa...@gmail.com> wrote:
>
> > I want to figure out all the movements made by a region given a time
> > interval. This will be useful for debugging purposes.
> >
> > For example if region A moved from S1 -> S2 -> S3. I want to get all the
> > server names. Is there any tools available already?
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-hbase.679495.n3.nabble.com/Is-there-anyway-I-can-list-out-history-of-transitions-made-by-a-region-tp4066484.html
> > Sent from the HBase User mailing list archive at Nabble.com.
> >
>



-- 
Sean

Re: Is there anyway I can list out history of transitions made by a region?

Posted by Ted Yu <yu...@gmail.com>.
To my knowledge, there is no such tool.

You can grep master log for region A which would give you history of the
region's movement.

Cheers

On Sun, Nov 30, 2014 at 7:35 PM, gomes <sa...@gmail.com> wrote:

> I want to figure out all the movements made by a region given a time
> interval. This will be useful for debugging purposes.
>
> For example if region A moved from S1 -> S2 -> S3. I want to get all the
> server names. Is there any tools available already?
>
>
>
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/Is-there-anyway-I-can-list-out-history-of-transitions-made-by-a-region-tp4066484.html
> Sent from the HBase User mailing list archive at Nabble.com.
>

Re: Is there anyway I can list out history of transitions made by a region?

Posted by lars hofhansl <la...@apache.org>.
You can try Hannibal: https://github.com/sentric/hannibal

________________________________
From: gomes <sa...@gmail.com>
To: user@hbase.apache.org 
Sent: Sunday, November 30, 2014 7:35 PM
Subject: Is there anyway I can list out history of transitions made by a region?


I want to figure out all the movements made by a region given a time
interval. This will be useful for debugging purposes. 

For example if region A moved from S1 -> S2 -> S3. I want to get all the
server names. Is there any tools available already?



--
View this message in context: http://apache-hbase.679495.n3.nabble.com/Is-there-anyway-I-can-list-out-history-of-transitions-made-by-a-region-tp4066484.html
Sent from the HBase User mailing list archive at Nabble.com.