You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Mafish Liu <ma...@gmail.com> on 2008/03/03 02:42:11 UTC

How to use hbase to manage binary data.

Hi,
  In my application, there are millions of small binary files and I try to
manage them in hbase.
How can I store them in binary format?
  Thanks.

Mafish

-- 
Mafish@gmail.com
Institute of Computing Technology, Chinese Academy of Sciences, Beijing.

Re: How to use hbase to manage binary data.

Posted by Bryan Duxbury <br...@rapleaf.com>.
All data written into HBase cells is byte arrays. Maybe make a single  
column family called data, then set and retrieve "data:" for rows  
named after the file path.

-Bryan

On Mar 2, 2008, at 5:42 PM, Mafish Liu wrote:

> Hi,
>   In my application, there are millions of small binary files and I  
> try to
> manage them in hbase.
> How can I store them in binary format?
>   Thanks.
>
> Mafish
>
> -- 
> Mafish@gmail.com
> Institute of Computing Technology, Chinese Academy of Sciences,  
> Beijing.


Re: How to use hbase to manage binary data.

Posted by Mafish Liu <ma...@gmail.com>.
Bryan and edward, Thank you for your replying. I'll consider your
suggestions carefully.
-- 
Mafish@gmail.com
Institute of Computing Technology, Chinese Academy of Sciences, Beijing.

Re: How to use hbase to manage binary data.

Posted by edward yoon <ed...@udanax.org>.
I would recommend direct store into cell. Using an column qualifiers,
you also can store the file attributes and informations as a file
header writing.

On 3/3/08, Mafish Liu <ma...@gmail.com> wrote:
> Hi,
>  In my application, there are millions of small binary files and I try to
> manage them in hbase.
> How can I store them in binary format?
>  Thanks.
>
> Mafish
>
> --
> Mafish@gmail.com
> Institute of Computing Technology, Chinese Academy of Sciences, Beijing.
>


-- 
B. Regards,
Edward yoon @ NHN, corp.