hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Pearson" <sa...@pearsonwholesale.com>
Subject Re: BatchUpdate and BatchOperation
Date Fri, 12 Sep 2008 05:37:38 GMT
Thanks looks like HBASE-882 solves my problem in trunk
I am using 0.2.1 right now so I did not see it in the code.

Billy


"Jean-Daniel Cryans" <jdcryans@apache.org> 
wrote in message 
news:31a243e70809111822n39493386m6bf798610ee48b3f@mail.gmail.com...
> Billy,
>
> We are reworking the client API for 0.19.0. Have a look at
> HBASE-880<https://issues.apache.org/jira/browse/HBASE-880>and see if
> you can insert your methods in a proposed design!
>
> Thanks a lot,
>
> J-D
>
> On Thu, Sep 11, 2008 at 9:02 PM, Billy Pearson
> <sales@pearsonwholesale.com>wrote:
>
>> should we not have a option to be able to get the BatchOperation's of a
>> BatchUpdate
>>
>> Example
>>
>> I have text files with lines of records I want to insert into hbase
>> I was just mapping them and the map was just inserting the records in to
>> hbase
>>
>> I speed this up by adding inline code to detect multi columns per row 
>> that
>> are in order.
>>
>> I was going to add a reduce stage to merge multi backupdates of the same
>> row in the
>> reduce stage but there is no way to get the BatchOperations from the
>> batchUpdates
>>
>> Should we add a method to get the BatchOperations from the BatchUpdates?
>> Or Should I just be passing a BatchOperation to the reduce stage then 
>> merge
>> them into a BatchUpdate?
>>
>> Either way I thank we need a method ("add" or something) for BatchUpdate
>> that accepts BatchOperations sense this is what we converting to in the 
>> end.
>>
>>
>>
> 



Mime
View raw message