[
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
Update original patch to use .to_java_bytes, consistently with other methods.
Apologies for the lack of a unit test...it looks like this entire flow of the
shell could use more unit tests but I can't jump into that right away.
> 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, 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