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 2015/11/19 23:47:01 UTC

hbase git commit: HBASE-14819 hbase-it tests failing with OOME: permgen

Repository: hbase
Updated Branches:
  refs/heads/master f0dc556b7 -> 7dc4f1219


HBASE-14819 hbase-it tests failing with OOME: permgen


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/7dc4f121
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/7dc4f121
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/7dc4f121

Branch: refs/heads/master
Commit: 7dc4f121999ab276286550d7e96a717d9dd51649
Parents: f0dc556
Author: stack <st...@apache.org>
Authored: Thu Nov 19 14:46:53 2015 -0800
Committer: stack <st...@apache.org>
Committed: Thu Nov 19 14:46:53 2015 -0800

----------------------------------------------------------------------
 hbase-it/pom.xml                                             | 3 +++
 .../apache/hadoop/hbase/IntegrationTestAcidGuarantees.java   | 8 +++-----
 2 files changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/7dc4f121/hbase-it/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml
index f62a57d..71f3766 100644
--- a/hbase-it/pom.xml
+++ b/hbase-it/pom.xml
@@ -91,6 +91,9 @@
             <excludes>
               <exclude>${unittest.include}</exclude>
               <exclude>**/*$*</exclude>
+              <!--Do this to prevent OOME because permgen is full seen on build.apache.org
+               -->
+              <argLine> -XX:+CMSClassUnloadingEnabled </argLine>
               <!--<exclude>${test.exclude.pattern}</exclude>-->
             </excludes>
             <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>

http://git-wip-us.apache.org/repos/asf/hbase/blob/7dc4f121/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestAcidGuarantees.java
----------------------------------------------------------------------
diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestAcidGuarantees.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestAcidGuarantees.java
index b2f74ea..003a51f 100644
--- a/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestAcidGuarantees.java
+++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestAcidGuarantees.java
@@ -94,17 +94,17 @@ public class IntegrationTestAcidGuarantees extends IntegrationTestBase {
 
   @Test
   public void testGetAtomicity() throws Exception {
-    tag.runTestAtomicity(20000, 5, 5, 0, 3);
+    tag.runTestAtomicity(20000, 4, 4, 0, 3);
   }
 
   @Test
   public void testScanAtomicity() throws Exception {
-    tag.runTestAtomicity(20000, 5, 0, 5, 3);
+    tag.runTestAtomicity(20000, 3, 0, 2, 3);
   }
 
   @Test
   public void testMixedAtomicity() throws Exception {
-    tag.runTestAtomicity(20000, 5, 2, 2, 3);
+    tag.runTestAtomicity(20000, 4, 2, 2, 3);
   }
 
 
@@ -117,5 +117,3 @@ public class IntegrationTestAcidGuarantees extends IntegrationTestBase {
     System.exit(ret);
   }
 }
-
-