Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Re: Region status.


Copy link to this message
-
Re: Region status.
That's an idea. But I was looking to something more straightforward
like region.getStatus(). At the end, I will modify the way I'm
approaching the probleme and anch on some region based coprocessors...

2013/1/17, Adrien Mogenet <[EMAIL PROTECTED]>:
> Perhaps can you dive into ZK nodes ?
>
>
> On Fri, Jan 11, 2013 at 9:32 PM, Jean-Marc Spaggiari <
> [EMAIL PROTECTED]> wrote:
>
>> Thanks Ram.
>>
>> It was not for a test case, so I will try to find a different way to
>> do what I need.
>>
>> JM
>>
>> 2013/1/10, ramkrishna vasudevan <[EMAIL PROTECTED]>:
>> > Hi Jean
>> >
>> > The region transition states are not exposed to the end user.
>> > You can only know if the table is enabled, enabling, disabled or
>> disabling.
>> >
>> > But if you want to do in any of your testcases then YES it is possible.
>> >
>> > Regards
>> > Ram
>> >
>> > On Thu, Jan 10, 2013 at 7:42 PM, Jean-Marc Spaggiari <
>> > [EMAIL PROTECTED]> wrote:
>> >
>> >> Hi,
>> >>
>> >> How can I get the status of a region?
>> >>
>> >> I mean, I have a HRegionInfo and I want to know if this region is
>> >> opened, closed, opening, in transit, etc. How can I retreive this
>> >> information?
>> >>
>> >> From the table I can get a fresh region info, but I'm not able to find
>> >> the status into it. I just have "isOffline()".
>> >>
>> >> Thanks,
>> >>
>> >> JM
>> >>
>> >
>>
>
>
>
> --
> Adrien Mogenet
> 06.59.16.64.22
> http://www.mogenet.me
>