[
https://issues.apache.org/jira/browse/HBASE-23884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060455#comment-17060455
]
Mohammad Arshad commented on HBASE-23884:
-----------------------------------------
list_rsgroups first gets all the rsgroup names from the master server by
invoking RSGroupAdmin#listRSGroups() API and then filters the result with
given regular expression.
The parameter in list_rsgroups command is not rsgroup name as in get_rsgroup
command. It is a regular expression to filter out the result of listRSGroups()
call.
I think current behavior is correct and also it is in sync with other existing
commands like list command.
> list_rsgroups didn't get the correct result
> -------------------------------------------
>
> Key: HBASE-23884
> URL: https://issues.apache.org/jira/browse/HBASE-23884
> Project: HBase
> Issue Type: Bug
> Components: rsgroup, shell
> Affects Versions: 2.2.3
> Reporter: Bo Cui
> Assignee: Mohammad Arshad
> Priority: Minor
> Attachments: image-2020-02-23-09-53-49-594.png
>
>
> if my_group does not exist, list_rsgroups will get 0 row(s),
> but i think list_rsgroups should throw NOTEXISTEXCEPTION
> !image-2020-02-23-09-53-49-594.png|width=449,height=143!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)