hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: request for mapreduce with hbase examples
Date Thu, 11 Feb 2010 22:27:03 GMT
On Thu, Feb 11, 2010 at 12:38 PM, David Hawthorne <dhawth@3crowd.com> wrote:
> I was under the impression that you could read from/write to an hbase table
> from within a mapreduce job.  Import and Export look like methods for
> reading HDFS files into hbase and dumping hbase into an HDFS file.

Yes.  Isn't that what you want?  Export shows how to use hbase as a
mapreduce source and Import as a mapreduce sink.

> On Feb 11, 2010, at 12:25 PM, Guohua Hao wrote:
>> Hello there,
>> Did  you take a look at the Import and Export classes under package
>> org.apache.hadoop.hbase.mapreduce? They are mostly using new APIs in my
>> mind. Correct me if I am wrong.
>> Thanks,
>> Guohua
>> On Thu, Feb 11, 2010 at 2:13 PM, David Hawthorne <dhawth@3crowd.com>
>> wrote:
>>> I'm looking for some examples for reading data out of hbase for use with
>>> mapreduce and for inserting data into hbase from a mapreduce job.  I've
>>> seen
>>> the example shipped with hbase, and, well, it doesn't exactly make things
>>> click for me.  It also looks like it's using the old API, so maybe that's
>>> why.
>>> Can someone please send some example code for reading/writing from/to
>>> hbase
>>> with a mapreduce job?  The more examples the better.
>>> Thanks!

View raw message