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

Ted Yu commented on HBASE-21478:
--------------------------------

RSGroupInfo#getTables() references a SortedSet .
Do you plan to create another Set which is sorted lexicographically ?

> Make table sorted when displaying rsgroup info in shell and master web UI
> -------------------------------------------------------------------------
>
>                 Key: HBASE-21478
>                 URL: https://issues.apache.org/jira/browse/HBASE-21478
>             Project: HBase
>          Issue Type: Improvement
>          Components: rsgroup
>            Reporter: Xiang Li
>            Assignee: Xiang Li
>            Priority: Major
>
> Regarding the output of the command of "get_rsgoup" in hbase shell, or the 
> section of "Server Group" of HMaster's web UI, the tables are not sorted, so 
> not quite easy to read, like:
> {code}
> hbase(main):003:0> get_rsgroup 'default'
> GROUP INFORMATION
> ...
> Tables:
> table3
> ns2:table22
> table1
> ns1:table11
> ...
> {code}
> They could be sorted in the order of namespace then table name:
> {code}
> table1
> table3
> ns1:table11
> ns2:table22
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to