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 2020/04/03 04:07:11 UTC

[hbase] branch branch-2.3 updated: HBASE-24072 Nightlies reporting OutOfMemoryError: unable to create new native thread Set the forkcount down from 0.5C to 0.25C.

This is an automated email from the ASF dual-hosted git repository.

stack pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.3 by this push:
     new 7d3bf91  HBASE-24072 Nightlies reporting OutOfMemoryError: unable to create new native thread Set the forkcount down from 0.5C to 0.25C.
7d3bf91 is described below

commit 7d3bf9110430fb434b5d19750ef986986fc0f3c8
Author: stack <st...@apache.org>
AuthorDate: Wed Apr 1 16:05:59 2020 -0700

    HBASE-24072 Nightlies reporting OutOfMemoryError: unable to create new native thread
    Set the forkcount down from 0.5C to 0.25C.
---
 dev-support/docker/Dockerfile | 2 +-
 pom.xml                       | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index f0e2501..4d48c74 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -178,7 +178,7 @@ RUN mkdir -p /usr/lib/jvm && \
 # TODO (nd): is this really true? investigate and file a ticket.
 ENV SPOTBUGS_HOME '/opt/spotbugs'
 ENV MAVEN_HOME '/opt/maven'
-ENV MAVEN_OPTS '-Xms4G -Xmx4G'
+ENV MAVEN_OPTS '-Xmx4G'
 
 CMD ["/bin/bash"]
 
diff --git a/pom.xml b/pom.xml
index 5b8d910..3630b6f 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1412,10 +1412,10 @@
     <!-- Fork count varies w/ CPU count. Setting is conservative. Up this
       value is you want to burn through tests faster (could make for more failures
       if more contention around resources). There is a matching MAVEN_ARG
-      in our yetus personality where we set the maven -T command to 0.5C too.
+      in our yetus personality where we set the maven -T command to 0.25C too.
     -->
-    <surefire.firstPartForkCount>0.5C</surefire.firstPartForkCount>
-    <surefire.secondPartForkCount>0.5C</surefire.secondPartForkCount>
+    <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
+    <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
     <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
     <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
     <surefire.testFailureIgnore>false</surefire.testFailureIgnore>