You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ch...@apache.org on 2017/12/18 10:42:31 UTC
hbase git commit: HBASE-16390 Fix documentation around setAutoFlush
Repository: hbase
Updated Branches:
refs/heads/branch-2 929ef4259 -> 67029f93e
HBASE-16390 Fix documentation around setAutoFlush
Signed-off-by: Chia-Ping Tsai <ch...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/67029f93
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/67029f93
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/67029f93
Branch: refs/heads/branch-2
Commit: 67029f93ea36054283cd4b89123b0cf0c94ff19d
Parents: 929ef42
Author: sahil aggarwal <sa...@gmail.com>
Authored: Sun Jan 22 13:23:45 2017 +0530
Committer: Chia-Ping Tsai <ch...@gmail.com>
Committed: Mon Dec 18 18:42:12 2017 +0800
----------------------------------------------------------------------
src/main/asciidoc/_chapters/performance.adoc | 10 ----------
1 file changed, 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/67029f93/src/main/asciidoc/_chapters/performance.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/performance.adoc b/src/main/asciidoc/_chapters/performance.adoc
index 9f81997..f1d89b5 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( <List> 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