HBASE-7648 TestAcidGuarantees.testMixedAtomicity hangs sometimes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1437538 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
29a226e189
commit
3e786cc548
|
@ -35,6 +35,7 @@ import org.apache.hadoop.hbase.client.Put;
|
|||
import org.apache.hadoop.hbase.client.Result;
|
||||
import org.apache.hadoop.hbase.client.ResultScanner;
|
||||
import org.apache.hadoop.hbase.client.Scan;
|
||||
import org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy;
|
||||
import org.apache.hadoop.hbase.util.Bytes;
|
||||
import org.apache.hadoop.util.Tool;
|
||||
import org.apache.hadoop.util.ToolRunner;
|
||||
|
@ -81,6 +82,9 @@ public class TestAcidGuarantees implements Tool {
|
|||
// Set small flush size for minicluster so we exercise reseeking scanners
|
||||
Configuration conf = HBaseConfiguration.create();
|
||||
conf.set(HConstants.HREGION_MEMSTORE_FLUSH_SIZE, String.valueOf(128*1024));
|
||||
// prevent aggressive region split
|
||||
conf.set(HConstants.HBASE_REGION_SPLIT_POLICY_KEY,
|
||||
ConstantSizeRegionSplitPolicy.class.getName());
|
||||
util = new HBaseTestingUtility(conf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue