hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guangxu Cheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17496) RSGroup shell commands:get_server_rsgroup don't work and commands display an incorrect result size
Date Fri, 20 Jan 2017 05:31:26 GMT

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

Guangxu Cheng commented on HBASE-17496:
---------------------------------------

After merge the patch as follows:

{code}
hbase(main):001:0> get_server_rsgroup '10.57.22.78:60020'
default
1 row(s)
Took 0.3950 seconds
{code}
{code}
hbase(main):002:0> list_rsgroups
GROUPS
default
1 row(s)
Took 0.0130 seconds
{code}
{code}
hbase(main):003:0> get_table_rsgroup 't1'
default
1 row(s)
Took 0.0130 seconds
{code}
{code}
hbase(main):004:0> get_rsgroup 'default'
GROUP INFORMATION
Servers:
10.57.22.78:60020                                                                        
                                                                            Tables:
hbase:meta
t1            
hbase:namespace
hbase:rsgroup
7 row(s)
Took 0.0130 seconds 
{code}

> RSGroup shell commands:get_server_rsgroup don't work and commands display an incorrect
result size
> --------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-17496
>                 URL: https://issues.apache.org/jira/browse/HBASE-17496
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 2.0.0
>            Reporter: Guangxu Cheng
>            Assignee: Guangxu Cheng
>              Labels: rsgroup
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17496-master-v1.patch
>
>
> scenario as follows:
> {code}
> hbase(main):001:0> get_server_rsgroup 'hbase-01:16030'
> ERROR: undefined method `getRSGroupOfServer' for #<Hbase::RSGroupAdmin:0x1acb74ad>
> 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'
> Took 0.0160 seconds
> {code}
> {code}
> hbase(main):002:0> list_rsgroups
> GROUPS
> default
> 1484874115 row(s)
> Took 0.3830 seconds
> {code}
> {code}
> hbase(main):003:0> get_table_rsgroup 't1'
> default
> 1484874133 row(s)
> Took 0.0100 seconds
> {code}
> {code}
> hbase(main):004:0> get_rsgroup 'default'
> GROUP INFORMATION
> Servers:
> hbase-01:16030
> Tables:
> hbase:meta
> t1
> hbase:namespace
> hbase:rsgroup
> 1484874150 row(s)
> Took 0.0140 seconds
> {code}



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

Mime
View raw message