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

Ted Yu commented on HBASE-15858:
--------------------------------

With the change, the following test passes:
{code}
Running org.apache.hadoop.hbase.client.rsgroup.TestShellRSGroups
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.183 sec - in 
org.apache.hadoop.hbase.client.rsgroup.TestShellRSGroups
{code}
TestShell passes too.

> Some region server group shell commands don't work
> --------------------------------------------------
>
>                 Key: HBASE-15858
>                 URL: https://issues.apache.org/jira/browse/HBASE-15858
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 15858.v1.patch, 15858.v2.patch, 15858.v3.patch
>
>
> [~cartershanklin] reported the following:
> {code}
> hbase(main):021:0> get_rsgroup 'test_group'
> GROUP INFORMATION
> ERROR: undefined local variable or method `group_admin' for 
> #<Shell::Commands::GetRsgroup:0x33ec2c0c>
> Here is some help for this command:
> Get a region server group's information.
> Example:
>   hbase> get_rsgroup 'default'
> {code}
> {code}
> hbase(main):009:0> get_server_rsgroup 
> 'hdp250-hbase-unsecure.example.com:16030'
> ERROR: undefined method `getGroupOfServer' for 
> #<Hbase::RSGroupAdmin:0x251d7fdd>
> Here is some help for this command:
> Get the group name the given region server is a member of.
>   hbase> get_server_rsgroup 'server1:port1'
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to