Skip to content
Snippets Groups Projects
Commit 03f4fd2c authored by Nicolas Liochon's avatar Nicolas Liochon
Browse files

Use the clear buffer on fail option. Not using it is deprecated since HBase 0.96

parent 7b564cc3
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ public class HBaseClient extends com.yahoo.ycsb.DB
synchronized (tableLock) {
_hTable = new HTable(config, table);
//2 suggestions from http://ryantwopointoh.blogspot.com/2009/01/performance-of-hbase-importing.html
_hTable.setAutoFlush(false);
_hTable.setAutoFlush(false, true);
_hTable.setWriteBufferSize(1024*1024*12);
//return hTable;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment