BatchUpdate is the old, deprecated version of Put. You are using the best APIs.
> -----Original Message----- > From: Weishung Chung [mailto:[email protected]] > Sent: Monday, January 10, 2011 10:10 AM > To: [email protected] > Subject: Re: HTable.put(List<Put> puts) perform batch insert? > > Thank you :) > Could I use org.apache.hadoop.hbase.io.BatchUpdate ? Would it be faster > than the put(List<Put>)? > Also, would you recommend the use of MapReduce to accomplish the > samething? > > On Mon, Jan 10, 2011 at 11:38 AM, Jean-Daniel Cryans > <[email protected]>wrote: > > > HBaseHUT is used to solve he Get+Put problem, so if it's your problem > > as well then do look into it. > > > > To answer your first question, that method will group Puts by region > > server meaning that it will do anywhere between 1-n where n is the > > number of RS, and that's done in parallel. > > > > J-D > > > > On Mon, Jan 10, 2011 at 9:06 AM, Weishung Chung > <[email protected]> > > wrote: > > > What is the difference between the above put method with the > > > following capability of the HBaseHUT package ? > > > https://github.com/sematext/HBaseHUT > > > > > > On Mon, Jan 10, 2011 at 10:58 AM, Weishung Chung > > > <[email protected]> > > wrote: > > > > > >> Does HTable.put(List<Put> puts) method perform a batch insert with > > >> a > > single > > >> RPC call? I am going to insert a lot of values into a column family > > >> and would like to increase the write speed. > > >> Thank you. > > >> > > > > >
