Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Hbase Stargate Returns Scrambled Values


Copy link to this message
-
Hbase Stargate Returns Scrambled Values
Ameya Kantikar 2013-04-10, 22:43
When I run some simple query on stargate it returns scarmbled values.

eg.:

curl -H "Accept: application/json" http://localhost:9001/t2/*/cf1
{"Row":[{"key":"Mg==","Cell":[{"timestamp":1363121013571,"column":"Y2YxOnRlc3Q=","$":"dmFsdWUy"}]},{"key":"Mw==","Cell":[{"timestamp":1363121724110,"column":"Y2YxOnRlc3Q=","$":"dmFsdWUy"}]},{"key":"NA==","Cell":[{"timestamp":1363216886908,"column":"Y2YxOnRlc3Q=","$":"dmFsdWU0"}]}]}

I understand that I can decode these values using base64 -d. But is there a
way to show these value in "non scrambled" format from get go? I see even
example here have scrambled values:
http://wiki.apache.org/hadoop/Hbase/Stargate
I was planing to use the HTTP interface for quickly looking into Hbase.
(Yes I can always use hbase shell, but was checking if there is a simple
way to do that via HTTP)

Any ideas?

Ameya