Skip to content
Snippets Groups Projects
Commit e4479ef1 authored by Shun Takebayashi's avatar Shun Takebayashi
Browse files

Change default value of clientbuffering property to false

parent 23e5afcf
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ public class HBaseClient extends com.yahoo.ycsb.DB
public HTable _hTable=null;
public String _columnFamily="";
public byte _columnFamilyBytes[];
public boolean _clientSideBuffering = true;
public boolean _clientSideBuffering = false;
public static final int Ok=0;
public static final int ServerError=-1;
......
......@@ -88,7 +88,7 @@ public class HBaseClient10 extends com.yahoo.ycsb.DB
* This is the default behavior for HBaseClient. For measuring
* insert/update/delete latencies, client side buffering should be disabled.
*/
public boolean _clientSideBuffering = true;
public boolean _clientSideBuffering = false;
public static final int Ok=0;
public static final int ServerError=-1;
......@@ -102,8 +102,8 @@ public class HBaseClient10 extends com.yahoo.ycsb.DB
@Override
public void init() throws DBException
{
if ("false".equals(getProperties().getProperty("clientbuffering", "true"))) {
this._clientSideBuffering = false;
if ("true".equals(getProperties().getProperty("clientbuffering", "false"))) {
this._clientSideBuffering = true;
}
if (getProperties().getProperty("durability") != null) {
......
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