url - Querying HBase Stargate for a hexadecimal rowkey via Ruby -


i have hbase table (in part) utilizes hexadecimal bytes construct rowkeys. i'm able query hbase shell fine follows

get 'my_table', "xyz:\x7f\xff\xff\xff\xff\xff\xff\x82" 

however, want use stargate api (or 1 of many ruby gems serve wrapper) query hbase remotely.

if run exact same query above, 404 not found. note : , \ characters url-encoded.

curl "http://myhbaseserver.domain:8080/my_table/xyz%3a%5cx7f%5cxff%5cxff%5cxff%5cxff%5cxff%5cxff%5cx82/content:raw" => 404 not found 

i know format correct returns table list when call / endpoint. it's not throwing connectivity error. thoughts on whether these characters being escaped?

thanks!

\x not need encoded, convention used hbase represent non-ascii byte value. \x7f should converted %7f in url


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -