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.
Jean-Marc Spaggiari 2013-01-11, 20:32
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
>>
>