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

Guangxu Cheng commented on HBASE-17946:
---------------------------------------

[[email protected]] [~chia7712] Thanks all for reviewing.

> Shell command compact_rs don't work
> -----------------------------------
>
>                 Key: HBASE-17946
>                 URL: https://issues.apache.org/jira/browse/HBASE-17946
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 2.0.0
>            Reporter: Guangxu Cheng
>            Assignee: Guangxu Cheng
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17946-master-v1.patch
>
>
> error as the following:
> {code}
> hbase(main):001:0> compact_rs 'rs-host-1,16020,1492681533814'
> ERROR: undefined method `compactRegionserver' for #<Hbase::Admin:0x7af52ec7>
>           Compact all regions on passed regionserver.
>           Examples:
>           Compact all regions on a regionserver:
>           hbase> compact_rs 'host187.example.com,60020'
>           or
>           hbase> compact_rs 'host187.example.com,60020,1289493121758'
>           Major compact all regions on a regionserver:
>           hbase> compact_rs 'host187.example.com,60020,1289493121758', true
> Took 0.0240 seconds 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to