You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2018/04/06 04:39:00 UTC
[jira] [Updated] (HBASE-20254) Incorrect help message for
merge_region
[ https://issues.apache.org/jira/browse/HBASE-20254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-20254:
--------------------------
Fix Version/s: (was: 2.1.0)
(was: 3.0.0)
> 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
> Assignee: Peter Somogyi
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-20254.master.001.patch, HBASE-20254.master.001.patch, HBASE-20254.master.002.patch, HBASE-20254.master.003.patch
>
>
> 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)