BufferedMutator is the preferred alternative for autoflush starting in HBase 1.0. Get a connection via ConnectionFactory, then connection.getBufferedMutator(tableName). It's the same functionality as autoflush under the covers.
On Wed, May 13, 2015 at 9:41 AM, Ted Yu <yuzhih...@gmail.com> wrote: > Please take a look at https://issues.apache.org/jira/browse/HBASE-12728 > > Cheers > > On Wed, May 13, 2015 at 6:25 AM, Serega Sheypak <serega.shey...@gmail.com> > wrote: > > > Hi, in 0.94 we could use autoFlush method for HTable. > > Now HTable shouldn't be used, we refactoring code for Table > > > > Here is a note: > > http://hbase.apache.org/book.html#perf.hbase.client.autoflush > > >When performing a lot of Puts, make sure that setAutoFlush is set to > false > > on your Table > > < > http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Table.html > > > > > instance > > > > What is the right way to set autoFlush for Table instance? Can't find > > method/example to do this? > > >