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/09/04 08:05:50 UTC
hbase git commit: HBASE-16390 Fix documentation around setAutoFlush
Repository: hbase
Updated Branches:
refs/heads/master 2305510b7 -> a5131a049
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/a5131a04
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a5131a04
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a5131a04
Branch: refs/heads/master
Commit: a5131a0491e65907d721e571ae6c4f68e905be3d
Parents: 2305510
Author: sahil aggarwal <sa...@gmail.com>
Authored: Sun Jan 22 13:23:45 2017 +0530
Committer: Chia-Ping Tsai <ch...@gmail.com>
Committed: Mon Sep 4 13:58:13 2017 +0800
----------------------------------------------------------------------
src/main/asciidoc/_chapters/performance.adoc | 10 ----------
1 file changed, 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/a5131a04/src/main/asciidoc/_chapters/performance.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/performance.adoc b/src/main/asciidoc/_chapters/performance.adoc
index 114754f..d3942bc 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