You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guangxu Cheng (JIRA)" <ji...@apache.org> on 2017/04/21 08:07:04 UTC

[jira] [Updated] (HBASE-17946) Shell command compact_rs don't work

     [ https://issues.apache.org/jira/browse/HBASE-17946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guangxu Cheng updated HBASE-17946:
----------------------------------
    Attachment: HBASE-17946-master-v1.patch

> 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)