You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ryan Brush (JIRA)" <ji...@apache.org> on 2011/07/18 22:45:57 UTC

[jira] [Updated] (HBASE-4115) HBase shell assign and unassign unusable if region name includes binary-encoded data

     [ https://issues.apache.org/jira/browse/HBASE-4115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Brush updated HBASE-4115:
------------------------------

    Attachment: admin.patch

Simple patch that fixes the issue

> HBase shell assign and unassign unusable if region name includes binary-encoded data
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-4115
>                 URL: https://issues.apache.org/jira/browse/HBASE-4115
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 0.90.2, 0.90.3
>            Reporter: Ryan Brush
>            Priority: Minor
>         Attachments: admin.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira