On Mon, Jun 13, 2011 at 8:17 PM, King JKing <[email protected]> wrote:
> Dear all, > > I want to import data from Cassandra to HBase. > > That's what we like to hear! ;-) > I think the way maybe: > Customize ImportTsv.java for read Cassandra data file (*.dbf) and convert > to HBase data files, and use completebulkload tool > > Sounds about right. I don't know what the .dbf format is, but if you can make an InputFormat that supports them, you can write a mapper to translate from those records into HBase Puts, and then use HFileOutputFormat and bulk loads just like ImportTsv. -Todd -- Todd Lipcon Software Engineer, Cloudera
