You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2010/07/27 20:27:47 UTC

svn commit: r979796 - /hbase/trunk/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java

Author: stack
Date: Tue Jul 27 18:27:46 2010
New Revision: 979796

URL: http://svn.apache.org/viewvc?rev=979796&view=rev
Log:
Setting write buffer to 12MB in PE is dumb.  Causes OOMEs when running w/ a 1G heap.  If HDFS slow, handlers get backed up carrying 10MB plus and this memory consumption is outside of our general memory accounting

Modified:
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java?rev=979796&r1=979795&r2=979796&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java (original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java Tue Jul 27 18:27:46 2010
@@ -745,7 +745,6 @@ public class PerformanceEvaluation {
       this.admin = new HBaseAdmin(conf);
       this.table = new HTable(conf, tableName);
       this.table.setAutoFlush(false);
-      this.table.setWriteBufferSize(1024*1024*12);
       this.table.setScannerCaching(30);
     }