Peter Somogyi created HBASE-20254: ------------------------------------- Summary: Incorrect help message for merge_region Key: HBASE-20254 URL: https://issues.apache.org/jira/browse/HBASE-20254 Project: HBase Issue Type: Sub-task Components: shell Affects Versions: 2.0.0 Reporter: Peter Somogyi
In 2.0 merge_region command accepts full region name not just the encoded region name but the help says only encoded can be used. The move command only accepts encoded region name. hbase(main):003:0> help 'merge_region' Merge two regions. Passing 'true' as the optional third parameter will force a merge ('force' merges regardless else merge will fail unless passed adjacent regions. 'force' is for expert use only). NOTE: You must pass the encoded region name, not the full region name so this command is a little different from other region operations. The encoded region name is the hash suffix on region names: e.g. if the region name were TestTable,0094429456,1289497600452.527db22f95c8a9e0116f0cc13c680396. then the encoded region name portion is 527db22f95c8a9e0116f0cc13c680396 Examples: hbase> merge_region 'ENCODED_REGIONNAME', 'ENCODED_REGIONNAME' hbase> merge_region 'ENCODED_REGIONNAME', 'ENCODED_REGIONNAME', true -- This message was sent by Atlassian JIRA (v7.6.3#76005)