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.3, 0.90.2
Reporter: Ryan Brush
Priority: Minor
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