hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-16192 Fix the potential problems in TestAcidGuarantees (Colin Ma)
Date Fri, 30 Jun 2017 10:17:44 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 290fb8965 -> 926781540


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/92678154
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/92678154
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/92678154

Branch: refs/heads/branch-2
Commit: 926781540c635e16c9a50ceebdfe6a00dce9efac
Parents: 290fb89
Author: Michael Stack <stack@apache.org>
Authored: Fri Jun 30 03:16:46 2017 -0700
Committer: Michael Stack <stack@apache.org>
Committed: Fri Jun 30 03:17:35 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/92678154/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][];


Mime
View raw message