You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2017/06/30 10:17:22 UTC
hbase git commit: HBASE-16192 Fix the potential problems in
TestAcidGuarantees (Colin Ma)
Repository: hbase
Updated Branches:
refs/heads/master 5be05e90d -> 73c225a07
HBASE-16192 Fix the potential problems in TestAcidGuarantees (Colin Ma)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/73c225a0
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/73c225a0
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/73c225a0
Branch: refs/heads/master
Commit: 73c225a071cb4f77956f7f60ba1985b474028ecd
Parents: 5be05e9
Author: Michael Stack <st...@apache.org>
Authored: Fri Jun 30 03:16:46 2017 -0700
Committer: Michael Stack <st...@apache.org>
Committed: Fri Jun 30 03:16:46 2017 -0700
----------------------------------------------------------------------
.../src/test/java/org/apache/hadoop/hbase/TestAcidGuarantees.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/73c225a0/hbase-server/src/test/java/org/apache/hadoop/hbase/TestAcidGuarantees.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestAcidGuarantees.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestAcidGuarantees.java
index cc7d0a3..b97f9c1 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestAcidGuarantees.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestAcidGuarantees.java
@@ -367,6 +367,8 @@ public class TestAcidGuarantees implements Tool {
final boolean useMob) throws Exception {
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());
byte rows[][] = new byte[numUniqueRows][];