yep it looks like sky is the limit with the SHell tool

Great suggestion! thanks Sean

________________________________
From: Sean Busbey <[email protected]>
Sent: Friday, July 7, 2017 2:11 PM
To: [email protected]
Subject: Re: Command line tool to get the list of Failed Regions

you could use the shell in non-interactive mode to do this.

I don't have access to an instance ATM, but the JIRA for getting some shell
examples has a start

https://issues.apache.org/jira/browse/HBASE-15611
[HBASE-15611] add examples to shell docs - ASF 
JIRA<https://issues.apache.org/jira/browse/HBASE-15611>
issues.apache.org
It would be nice if our shell documentation included some additional examples 
of operational tasks one can perform. things to include to come in comments. 
when we ...



look for the one "how do I list regions for a table". if you use that
example in an interactive session, you should be able to see what other
methods exist on the region object instead of turning it into a string. I'd
expect there should be a status on it.

On Fri, Jul 7, 2017 at 5:06 PM, Josh Elser <[email protected]> wrote:

> HBCK can do this, something like `hbase hbck -summary <table_name>`.
>
> This wouldn't be easily machine-consumable, but the content should be
> there.
>
>
> On 7/7/17 3:48 PM, jeff saremi wrote:
>
>> Is there a command line option that would give us a list of offline
>> Regions for a table? or a list of all regions and their status similar to
>> the Tasks section of master-status web page?
>>
>> thanks
>>
>>
>>
>>


--
Sean

Reply via email to