[
https://issues.apache.org/jira/browse/HBASE-1363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717821#action_12717821
]
Lars George commented on HBASE-1363:
------------------------------------
So it looks like the JRuby shell does not handle binary character notations. I
have instrumented the shell to print out what it gets and do the same on he
HRegion.get():
{code}
Shell:
hbase(main):002:0> get '.META.',
'TestTable,\000\000\000\000\002\000\003\005\002\000,1244575397228'
row: TestTable,\000\000\000\000\002\000\003\005\002\000,12445753972280 row(s)
in 0.0080 seconds
HRegion:
2009-06-09 23:11:48,694 DEBUG org.apache.hadoop.hbase.regionserver.HRegion: @@@
row:
TestTable,\x5C000\x5C000\x5C000\x5C000\x5C002\x5C000\x5C003\x5C005\x5C002\x5C000,1244575397228
{code}
or
{code}
Shell:
hbase(main):004:0> get '.META.',
'TestTable,\x00\x00\x00\x00\x02\x00\x03\x05\x02\x00,1244575618625'
row: TestTable,\x00\x00\x00\x00\x02\x00\x03\x05\x02\x00,12445756186250 row(s)
in 0.0180 seconds
HRegion:
2009-06-09 23:16:02,271 DEBUG org.apache.hadoop.hbase.regionserver.HRegion: @@@
row:
TestTable,\x5Cx00\x5Cx00\x5Cx00\x5Cx00\x5Cx02\x5Cx00\x5Cx03\x5Cx05\x5Cx02\x5Cx00,1244575618625
{code}
> Can't use 'close region' when keys are binary
> ---------------------------------------------
>
> Key: HBASE-1363
> URL: https://issues.apache.org/jira/browse/HBASE-1363
> Project: Hadoop HBase
> Issue Type: Sub-task
> Affects Versions: 0.20.0
> Reporter: ryan rawson
> Fix For: 0.20.0
>
>
> maybe we should allow you to use an encoded name to close a region, or use
> binary escaping.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.