Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> HBase first steps: Design a table


Copy link to this message
-
Re: HBase first steps: Design a table

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" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>:
>> 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.
>>
>