hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anoop Sam John <anoo...@huawei.com>
Subject RE: Aggregation while Bulk Loading into HBase
Date Thu, 29 Nov 2012 04:37:57 GMT

        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.

From: andrew.purtell@gmail.com [andrew.purtell@gmail.com] on behalf of Andrew Purtell [apurtell@apache.org]
Sent: Thursday, November 29, 2012 12:23 AM
To: user@hbase.apache.org
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 <knarayanan88@gmail.com> 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)
View raw message