hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chia7...@apache.org
Subject hbase git commit: HBASE-16390 Fix documentation around setAutoFlush
Date Mon, 04 Sep 2017 08:05:50 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 2305510b7 -> a5131a049

HBASE-16390 Fix documentation around setAutoFlush

Signed-off-by: Chia-Ping Tsai <chia7712@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 <sahil.agg15@gmail.com>
Authored: Sun Jan 22 13:23:45 2017 +0530
Committer: Chia-Ping Tsai <chia7712@gmail.com>
Committed: Mon Sep 4 13:58:13 2017 +0800

 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 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.
-=== 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]
-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
-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`.
 === HBase Client: Turn off WAL on Puts

View raw message