hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [3/4] hbase git commit: HBASE-12747 IntegrationTestMTTR will OOME if launched with mvn verify (Abhishek Singh Chouhan)
Date Tue, 10 Feb 2015 02:55:08 GMT
HBASE-12747 IntegrationTestMTTR will OOME if launched with mvn verify (Abhishek Singh Chouhan)


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

Branch: refs/heads/0.98
Commit: a1342abbb2e17e9bdb39205f69e9ff1f60b6fc23
Parents: 433672a
Author: Andrew Purtell <apurtell@apache.org>
Authored: Mon Feb 9 18:54:40 2015 -0800
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Mon Feb 9 18:54:40 2015 -0800

----------------------------------------------------------------------
 hbase-it/pom.xml | 4 +++-
 pom.xml          | 7 +++++--
 2 files changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/a1342abb/hbase-it/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml
index f1825c6..a4d7018 100644
--- a/hbase-it/pom.xml
+++ b/hbase-it/pom.xml
@@ -35,6 +35,8 @@
     <!-- Test inclusion patterns used by failsafe configuration -->
     <unittest.include>**/Test*.java</unittest.include>
     <integrationtest.include>**/IntegrationTest*.java</integrationtest.include>
+    <!-- To Run Tests with a particular Xmx Value use -Dfailsafe.Xmx=XXXg -->
+    <failsafe.Xmx>3g</failsafe.Xmx>
     <!-- To run a single integration test, use -Dit.test=IntegrationTestXXX -->
   </properties>
 
@@ -127,7 +129,7 @@
             <!-- TODO: failsafe does timeout, but verify does not fail the build because
of the timeout.
                  I believe it is a failsafe bug, we may consider using surefire -->
             <forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
-            <argLine>-enableassertions -Xmx1900m
+            <argLine>-enableassertions -Xmx${failsafe.Xmx}
               -Djava.security.egd=file:/dev/./urandom</argLine>
             <testFailureIgnore>false</testFailureIgnore>
           </configuration>

http://git-wip-us.apache.org/repos/asf/hbase/blob/a1342abb/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index bcd0a9d..c99f784 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1056,11 +1056,14 @@
     <test.output.tofile>true</test.output.tofile>
     <surefire.timeout>900</surefire.timeout>
     <test.exclude.pattern></test.exclude.pattern>
-    <hbase-surefire.argLine>-enableassertions -XX:MaxDirectMemorySize=1G -Xmx1900m
+    <!-- default Xmx value is 1900m. Use -Dsurefire.Xmx=xxg to run tests with different
JVM Xmx value -->
+    <surefire.Xmx>1900m</surefire.Xmx>
+    <surefire.cygwinXmx>1900m</surefire.cygwinXmx>
+    <hbase-surefire.argLine>-enableassertions -XX:MaxDirectMemorySize=1G -Xmx${surefire.Xmx}
       -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
       -Djava.awt.headless=true
     </hbase-surefire.argLine>
-    <hbase-surefire.cygwin-argline>-enableassertions -Xmx1900m -XX:MaxPermSize=256m
+    <hbase-surefire.cygwin-argline>-enableassertions -Xmx${surefire.cygwinXmx} -XX:MaxPermSize=256m
       -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
       "-Djava.library.path=${hadoop.library.path};${java.library.path}"
     </hbase-surefire.cygwin-argline>


Mime
View raw message