Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

enable write flushing so put actually touches the database

  • Loading branch information...
commit 45985ed01247261863532f82d03805277cfac39b 1 parent 0d2bf50
authored October 23, 2012
5  hbase/src/main/java/com/yahoo/ycsb/db/HBaseClient.java
@@ -109,12 +109,7 @@ public void getHTable(String table) throws IOException
109 109
     {
110 110
         synchronized (tableLock) {
111 111
             _hTable = new HTable(config, table);
112  
-            //2 suggestions from http://ryantwopointoh.blogspot.com/2009/01/performance-of-hbase-importing.html
113  
-            _hTable.setAutoFlush(false);
114  
-            _hTable.setWriteBufferSize(1024*1024*12);
115  
-            //return hTable;
116 112
         }
117  
-
118 113
     }
119 114
 
120 115
     /**

0 notes on commit 45985ed

Please sign in to comment.
Something went wrong with that request. Please try again.