hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Gray <jg...@facebook.com>
Subject RE: Stargate response strange
Date Thu, 25 Mar 2010 15:21:25 GMT
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.hong@nokia.com [mailto:victor.hong@nokia.com]
> Sent: Thursday, March 25, 2010 7:54 AM
> To: hbase-user@hadoop.apache.org; jesper.utoft@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.utoft@gmail.com> wrote:
> 
> As always they are base64 encoded. so you have to decode them!
> 
> 2010/3/25 <victor.hong@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
> >


Mime
View raw message