hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Esteban Gutierrez <este...@cloudera.com>
Subject Re: Getting binary data from HBase rest server without Base64 encoding
Date Wed, 15 Apr 2015 20:59:13 GMT

Have you tried to pass in the Accept: header the application/octet-stream
mime type? That should do what you are looking for.


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

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