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 <[email protected]>
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 <[email protected]> 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
>>
>
>

Reply via email to