Just wanted to point out that is also discussed under the autoFlush entry
in this chapter..

http://hbase.apache.org/book.html#perf.writing

.. but I think this could be better highlighted.  I will fix it.





On 6/13/12 10:25 AM, "Jean-Marc Spaggiari" <jean-m...@spaggiari.org> wrote:

>Hi N.
>
>The book gives only the information to do the load from the command
>line, so the "void put(final List<Put> puts)" is exactly what I was
>looking for.
>
>Thanks a lot,
>
>JM
>
>2012/6/13, N Keywal <nkey...@gmail.com>:
>> Hi,
>>
>>> Usually I'm inserting about 40 000 rows at a time. Should I do 40 000
>>> calls to put? Or is there any "bulkinsert" method?
>>
>> There is this chapter on bulk loading:
>> http://hbase.apache.org/book.html#arch.bulk.load
>> But for 40K rows you may just want to use "void put(final List<Put>
>> puts)" in HTableInterface, that will save a lot of rpc calls.
>>
>> Cheers,
>>
>> N.
>>
>


Reply via email to