Hi,
Looks like you do not want more than one table instance in Mapper. On
one table instance you want a Get before doing the Put.
See TableOutputFormat and try changing the code to implement your req and use
this custom output format.
-Anoop-
________________________________________
From: [email protected] [[email protected]] on behalf of Andrew
Purtell [[email protected]]
Sent: Thursday, November 29, 2012 12:23 AM
To: [email protected]
Subject: Re: Aggregation while Bulk Loading into HBase
Have a look at https://issues.apache.org/jira/browse/HBASE-3936
Is this what you have in mind as something that could help you here?
On Wed, Nov 28, 2012 at 5:37 AM, Narayanan K <[email protected]> wrote:
> But in our case, we will need an instance of the HTable in the Mapper, do a
> GET operation and find the rowkey if it already exists and then add up the
> column amounts and then write back.
>
--
Best regards,
- Andy
Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)