Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • shell
    • None

    Description

      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

      Attachments

        1. HBASE-20254.master.001.patch
          3 kB
          Peter Somogyi
        2. HBASE-20254.master.001.patch
          3 kB
          Peter Somogyi
        3. HBASE-20254.master.002.patch
          3 kB
          Peter Somogyi
        4. HBASE-20254.master.003.patch
          3 kB
          Peter Somogyi

        Activity

          People

            psomogyi Peter Somogyi
            psomogyi Peter Somogyi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: