Author: apurtell
Date: Tue Jul 26 21:43:23 2011
New Revision: 1151258
URL: http://svn.apache.org/viewvc?rev=1151258&view=rev
Log:
HBASE-4142 Advise against large batches in javadoc for HTable#put(List<Put>)
Modified:
hbase/branches/0.90/CHANGES.txt
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java
Modified: hbase/branches/0.90/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1151258&r1=1151257&r2=1151258&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Tue Jul 26 21:43:23 2011
@@ -106,6 +106,7 @@ Release 0.90.4 - Unreleased
HBASE-3969 Outdated data can not be cleaned in time (Zhou Shuaifeng)
HBASE-3488 Add CellCounter to count multiple versions of rows (Subbu Iyer)
HBASE-3968 HLog Pretty Printer (Riley Patterson)
+ HBASE-4142 Advise against large batches in javadoc for
HTable#put(List<Put>)
Release 0.90.3 - May 19th, 2011
BUG FIXES
Modified:
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java
URL:
http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java?rev=1151258&r1=1151257&r2=1151258&view=diff
==============================================================================
---
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java
(original)
+++
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java
Tue Jul 26 21:43:23 2011
@@ -181,6 +181,10 @@ public interface HTableInterface {
* <p>
* If {@link #isAutoFlush isAutoFlush} is false, the update is buffered
* until the internal buffer is full.
+ * <p>
+ * This can be used for group commit, or for submitting user defined
+ * batches, but sending large lists of values is not recommended. That may
+ * produce performance problems.
* @param puts The list of mutations to apply. The batch put is done by
* aggregating the iteration of the Puts over the write buffer
* at the client-side for a single RPC call.