hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karan Mehta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14925) Develop HBase shell command/tool to list table's region info through command line
Date Sat, 29 Apr 2017 19:21:04 GMT

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

Karan Mehta commented on HBASE-14925:
-------------------------------------

Thank you [~enis] and [~busbey] for your comments. I can look into the comments, however I
am not completely sure as to how to address them.

1. Will update all usages of Bytes::toString() to Bytes:: toStringBinary()
2. The internal formatter class is not good enough to display it in proper tabular form, so
I tried setting the width of column manually to a fixed size. Let me try out some other approach
as well. I am not sure how the output would look if the screen size is smaller than the row
size.
3. For projecting out specific columns, I can provide the addendum for the users to add extra
parameters after the initial params. If the user doesn't provide any column, by default it
will display all the data, else it will only display the required ones. Please suggest ways
as to how user should provide the input. I believe that the command line argument parser is
only able to parse data separated with commas.
4. I am not sure how release notes are handled since I am new to this, but I am happy to learn.
Please provide me with relevant info.

> 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
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-14925.002.patch, HBASE-14925.003.patch, 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)

Mime
View raw message