Hi Doug, You're right. I missed it :( I received Lars' book yesterday, so I will read a lot more before my next question ;)
JM 2012/6/13, Doug Meil <[email protected]>: > > 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. >>> >> > > >
