hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars George <lars.geo...@gmail.com>
Subject Re: HBase shell - control characters in row key
Date Mon, 19 Mar 2012 17:35:59 GMT
Hi Jon,

Please see the help the shell prints out, it has a section on how to use binary characters.
Important is to enclose the code points in double quotes - courtesy of JRuby. The single quotes
are literals only.

HTH,
Lars

On Mar 19, 2012, at 6:03 PM, Jon Bender wrote:

> Hi everyone,
> 
> I've got a couple keys in my HBase table that are delimited by the EOT
> (\x04) character.
> 
> I've tried a couple ways to query this: eg: get 'table', 'foo\x04bar'; get
> 'table' 'foo\cDbar' but haven't had any luck.  If I scan the table the keys
> come back as 'foo\x04bar' in the shell but I can't do a get against them.
> 
> Any suggestions?
> 
> Jon


Mime
View raw message