Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Hbase Images


Copy link to this message
-
Re: Hbase Images
images (jpgs) are bytes, there is no difference, you just need to add
appropriate http headers using nginx or any other proxy of choice and
put it on top of REST HBASE api.

-Jack

On Tue, Jan 17, 2012 at 10:11 AM, shashwat shriparv
<[EMAIL PROTECTED]> wrote:
> You can not store image as such rather you need to convert the image into
> bytes and then you can store it into hbase. One more thing you can do is
> that put the image information in hbase and put the image on hdfs file
> system.
>
> On Tue, Jan 17, 2012 at 11:37 PM, Stack <[EMAIL PROTECTED]> wrote:
>
>> On Tue, Jan 17, 2012 at 8:53 AM, mrconk <[EMAIL PROTECTED]> wrote:
>> >
>> > How can I insert images into Hbase? Is it possible to use HBase to serve
>> > images? For example: A user uploads an image to Hbase via our PHP
>> > application (REST/Stargate interface). Also, what is the best way to
>> serve
>> > images in Hbase via img src path or URI? Is it possible to publish a URI
>> > when we want to retrieve the image? In what format would you store the
>> image
>> > in Hbase (binary etc). I am looking for examples or detailed
>> instructions. I
>> > know this is possible but would like a tutorial or some sort of
>> reference.
>> > Any help would be greatly appreciated.
>>
>> HBase takes arrays of bytes.  Just stuff the raw image bytes into an hbase
>> cell.
>>
>> Can't you serve out of hbase via hbase REST interface?  (This is what
>> the imageshack/yfrog folks do.  They have architecture that has
>> varnish caching the hbase images and inline w/ the request they'll
>> have imagemagick do size transforms:
>> http://www.slideshare.net/jacque74/hug-hbase-presentation)
>>
>> At SU we serve thumbnails from hbase.
>>
>> St.Ack
>>
>
>
>
> --
> Shashwat Shriparv
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB