[ 
https://issues.apache.org/jira/browse/HBASE-14925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15955474#comment-15955474
 ] 

ronan stokes commented on HBASE-14925:
--------------------------------------

Its useful to consider why some one would use this command when looking at the 
variations and what parameters might be required

Some examples:

- planning to take a node of out of service => in this case its useful to see 
what regions are on a specific server in order to determine what you need to 
move

- diagnosing skew or region imbalance => in this case, what you need is a 
breakdown of the regions by server - but you are interested in the counts,sizes 
by server along with read and write rates

- preparing to manually balance a table => need to filter by table name

- informational purposes only => just need to ensure that data is up to date



> Develop HBase shell command/tool to list table's region info through command 
> line
> ---------------------------------------------------------------------------------
>
>                 Key: HBASE-14925
>                 URL: https://issues.apache.org/jira/browse/HBASE-14925
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Romil Choksi
>            Assignee: Karan Mehta
>         Attachments: HBASE-14925.patch
>
>
> I am going through the hbase shell commands to see if there is anything I can 
> use to get all the regions info just for a particular table. I don’t see any 
> such command that provides me that information.
> It would be better to have a command that provides region info, start key, 
> end key etc taking a table name as the input parameter. This is available 
> through HBase UI on clicking on a particular table's link
> A tool/shell command to get a list of regions for a table or all tables in a 
> tabular structured output (that is machine readable)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to