[
https://issues.apache.org/jira/browse/HBASE-14925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15832667#comment-15832667
]
ronan stokes edited comment on HBASE-14925 at 1/21/17 12:29 AM:
----------------------------------------------------------------
Above example is ruby - so you can add it to a file and invoke
{noformat}
hbase shell <filename>
{noformat}
to load it.
Once shell has loaded, you can use
{noformat}
list_regions '<tablename>'
{noformat}
was (Author: [email protected]):
Above example is ruby - so you can add it to a file and invoke
{noquote}
hbase shell <filename>
{noquote}
to load it.
Once shell has loaded, you can use
{noquote}
list_regions '<tablename>'
{noquote}
> 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: huaxiang sun
>
> 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.4#6332)