Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4115

HBase shell assign and unassign unusable if region name includes binary-encoded data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.90.2, 0.90.3
    • 0.90.4
    • shell
    • None
    • Reviewed

    Description

      When using the hbase shell assign and unassign commands, we should be able to copy region names from the hbck utility or the web page hosted by the HMaster process. But if these names have encoded binary data, they region name won't match and the command will fail.

      This is easily fixed by using Bytes.toBytesBinary on the region name in these commands rather than the raw Bytes.ToBytes.

      Attachments

        1. admin.patch
          1 kB
          Ryan Brush
        2. admin.patch
          1.0 kB
          Ryan Brush

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rbrush Ryan Brush
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: