From 67029f93ea36054283cd4b89123b0cf0c94ff19d Mon Sep 17 00:00:00 2001 From: sahil aggarwal Date: Sun, 22 Jan 2017 13:23:45 +0530 Subject: [PATCH] HBASE-16390 Fix documentation around setAutoFlush Signed-off-by: Chia-Ping Tsai --- src/main/asciidoc/_chapters/performance.adoc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/asciidoc/_chapters/performance.adoc b/src/main/asciidoc/_chapters/performance.adoc index 9f819976c1c..f1d89b511b7 100644 --- a/src/main/asciidoc/_chapters/performance.adoc +++ b/src/main/asciidoc/_chapters/performance.adoc @@ -552,16 +552,6 @@ This is safer, however, than not using WAL at all with Puts. Deferred log flush can be configured on tables via link:http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/HTableDescriptor.html[HTableDescriptor]. The default value of `hbase.regionserver.optionallogflushinterval` is 1000ms. -[[perf.hbase.client.autoflush]] -=== HBase Client: AutoFlush - -When performing a lot of Puts, make sure that setAutoFlush is set to false on your link:http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Table.html[Table] instance. -Otherwise, the Puts will be sent one at a time to the RegionServer. -Puts added via `table.add(Put)` and `table.add( Put)` wind up in the same write buffer. -If `autoFlush = false`, these messages are not sent until the write-buffer is filled. -To explicitly flush the messages, call `flushCommits`. -Calling `close` on the `Table` instance will invoke `flushCommits`. - [[perf.hbase.client.putwal]] === HBase Client: Turn off WAL on Puts