hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Kuo <kuosen...@gmail.com>
Subject Stargate returns single value cell query result in encode format
Date Fri, 16 Jul 2010 22:25:49 GMT
I am investigation Stargate to provide REST access and ran into an
interesting quesiton.  I have a simple test table and when I scan it within
the hbase shell, I got the following result.

hbase(main):028:0> scan 'test'
ROW
COLUMN+CELL

 row1                        column=data:1, timestamp=1278703763205,
value=value1
 row1                        column=data:a, timestamp=1278969106700,
value=a
 row2                        column=data:2, timestamp=1278703772510,
value=value2
 row2                        column=data:3, timestamp=1278703778936,
value=value3
 row3                        column=data:1, timestamp=1279318319309,
value=row3
3 row(s) in 0.0610 seconds

Issuing http://localhost:58080/test/row* returns

<CellSet>
<Row key="cm93MQ==">
<Cell timestamp="1278703763205" column="ZGF0YTox">dmFsdWUx</Cell>
<Cell timestamp="1278969106700" column="ZGF0YTph">YQ==</Cell>
</Row>
<Row key="cm93Mg==">
<Cell timestamp="1278703772510" column="ZGF0YToy">dmFsdWUy</Cell>
<Cell timestamp="1278703778936" column="ZGF0YToz">dmFsdWUz</Cell>
</Row>
<Row key="cm93Mw==">
<Cell timestamp="1279318319309" column="ZGF0YTox">cm93Mw==</Cell>
</Row>
</CellSet>

Why are the row key, column and value data encoded?  How can they be return
as text?

Thanks in advance.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message