HBASE-19901 HBASE-19901 Up yetus proclimit on nightlies; REAPPLY TO TEST

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

Branch: refs/heads/HBASE-19064
Commit: cb7bfc21da4e2658602a9a2b2080c4d883287dd1
Parents: a112585
Author: Michael Stack <st...@apache.org>
Authored: Thu Feb 1 20:26:46 2018 -0800
Committer: Michael Stack <st...@apache.org>
Committed: Thu Feb 1 20:27:28 2018 -0800

----------------------------------------------------------------------
 dev-support/hbase-personality.sh   | 8 ++++++++
 dev-support/hbase_nightly_yetus.sh | 2 ++
 2 files changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/cb7bfc21/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index e24930d..9064f0b 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -64,6 +64,14 @@ function personality_globals
 
   # Override the maven options
   MAVEN_OPTS="${MAVEN_OPTS:-"-Xmx3100M"}"
+
+  # Yetus 0.7.0 enforces limits. Default proclimit is 1000.
+  # Up it. See HBASE-19902 for how we arrived at this number.
+  PROCLIMIT=10000
+
+  # Set docker container to run with 20g. Default is 4g in yetus.
+  # See HBASE-19902 for how we arrived at 20g.
+  DOCKERMEMLIMIT=20g
 }
 
 ## @description  Parse extra arguments required by personalities, if any.

http://git-wip-us.apache.org/repos/asf/hbase/blob/cb7bfc21/dev-support/hbase_nightly_yetus.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase_nightly_yetus.sh 
b/dev-support/hbase_nightly_yetus.sh
index 4e67354..651a2e2 100755
--- a/dev-support/hbase_nightly_yetus.sh
+++ b/dev-support/hbase_nightly_yetus.sh
@@ -67,6 +67,8 @@ 
YETUS_ARGS=("--whitespace-tabs-ignore-list=${WHITESPACE_IGNORE_LIST}" "${YETUS_A
 YETUS_ARGS=("--sentinel" "${YETUS_ARGS[@]}")
 YETUS_ARGS=("--branch=${BRANCH_NAME}" "${YETUS_ARGS[@]}")
 YETUS_ARGS=("--tests-filter=${TESTS_FILTER}" "${YETUS_ARGS[@]}")
+YETUS_ARGS=("--proclimit=${PROCLIMIT}" "${YETUS_ARGS[@]}")
+YETUS_ARGS=("--dockermemlimit=${DOCKERMEMLIMIT}" "${YETUS_ARGS[@]}")
 
 # Currently, flaky list is calculated only for master branch.
 UNDERSCORED_BRANCH_NAME=$(echo ${BRANCH_NAME} | tr '.-' '_')

Reply via email to