HBASE-16192 Fix the potential problems in TestAcidGuarantees (Colin Ma)
This commit is contained in:
parent
5be05e90d4
commit
73c225a071
|
@ -367,6 +367,8 @@ public class TestAcidGuarantees implements Tool {
|
||||||
final boolean useMob) throws Exception {
|
final boolean useMob) throws Exception {
|
||||||
|
|
||||||
createTableIfMissing(useMob);
|
createTableIfMissing(useMob);
|
||||||
|
// set the max threads to avoid java.lang.OutOfMemoryError: unable to create new native thread
|
||||||
|
util.getConfiguration().setInt("hbase.hconnection.threads.max", 40);
|
||||||
TestContext ctx = new TestContext(util.getConfiguration());
|
TestContext ctx = new TestContext(util.getConfiguration());
|
||||||
|
|
||||||
byte rows[][] = new byte[numUniqueRows][];
|
byte rows[][] = new byte[numUniqueRows][];
|
||||||
|
|
Loading…
Reference in New Issue