hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anil gupta <anilgupt...@gmail.com>
Subject Re: Getting binary data from HBase rest server without Base64 encoding
Date Wed, 15 Apr 2015 22:39:53 GMT
Yup, we just figured that out. Awesome! :) Thanks, Esteban.

On Wed, Apr 15, 2015 at 2:01 PM, Esteban Gutierrez <esteban@cloudera.com>
wrote:

> I know its a little outdated but there is an example here about how to do
> it using curl:
>
> https://wiki.apache.org/hadoop/Hbase/Stargate
>
> esteban.
>
> --
> Cloudera, Inc.
>
>
> On Wed, Apr 15, 2015 at 1:59 PM, Esteban Gutierrez <esteban@cloudera.com>
> wrote:
>
> >
> > Anil,
> >
> > Have you tried to pass in the Accept: header the application/octet-stream
> > mime type? That should do what you are looking for.
> >
> > cheers,
> > esteban.
> >
> > --
> > Cloudera, Inc.
> >
> >
> > On Wed, Apr 15, 2015 at 1:28 PM, anil gupta <anilgupta84@gmail.com>
> wrote:
> >
> >> Hi All,
> >>
> >> I want to fetch an image file from HBase using its Rest server. Right
> now,
> >> i get a xml where the image byte array(cell value) is Base64 encoded. I
> >> need to decode Base64 to Binary to view the image.
> >> Is there are way where we can ask rest server not to perform base64
> >> encoding and just return the Cell value(ie: the image file)
> >>
> >> If its not there, and we were to do it. what kind of effort it would
> take?
> >> Any pointers to code that i would need to modify would be appreciated.
> >> --
> >> Thanks & Regards,
> >> Anil Gupta
> >>
> >
> >
>



-- 
Thanks & Regards,
Anil Gupta

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