Victor,

Rows, column qualifiers, and values are all byte[] in HBase.  Since they can be 
any binary (but you cannot just put any binary data into XML or other formats) 
they must be encoded in some way.  Base64 is a common way to represent binary 
data in ASCII.

JG

> -----Original Message-----
> From: victor.h...@nokia.com [mailto:victor.h...@nokia.com]
> Sent: Thursday, March 25, 2010 7:54 AM
> To: hbase-user@hadoop.apache.org; jesper.ut...@gmail.com
> Subject: Re: Stargate response strange
> 
> Hi Jesper,
> 
> Thanks for answering my questions. Any reason that they are base64
> encoded?
> 
> 
> On 3/25/10 3:31 AM, "ext Jesper Utoft" <jesper.ut...@gmail.com> wrote:
> 
> As always they are base64 encoded. so you have to decode them!
> 
> 2010/3/25 <victor.h...@nokia.com>
> 
> > I am trying out using stargate as rest api interface to query my
> table.
> >
> > Try
> > http://localhost:8085/contacts/1
> >
> > Got respnse
> >
> > <CellSet>
> > <Row key="MQ==">
> > <Cell timestamp="1269484727327"
> > column="bmFtZTpGaXJzdE5hbWU=">S2V2aW4=</Cell>
> > </Row>
> > </CellSet>
> >
> > The row key, column name, and value are all coded. Anyone seen this
> problem
> > before?
> >
> > Any help is appreciated.
> > -Victor
> >

Reply via email to