Guangxu Cheng created HBASE-17946:
-------------------------------------
Summary: 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
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)