Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 31dd9f3d3 -> e5c244f81


HBASE-19901 Up yetus proclimit on nightlies; ADDENDUM. Matching master and 
branch-2


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

Branch: refs/heads/branch-1.2
Commit: e5c244f8173924abfcfbc22edb860f1305a6e9a7
Parents: 31dd9f3
Author: Michael Stack <st...@apache.org>
Authored: Fri Feb 2 10:56:31 2018 -0800
Committer: Michael Stack <st...@apache.org>
Committed: Fri Feb 2 10:56:31 2018 -0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/e5c244f8/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index f35e81f..f902ac1 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/e5c244f8/dev-support/hbase_nightly_yetus.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase_nightly_yetus.sh 
b/dev-support/hbase_nightly_yetus.sh
index 4e67354..27d11c8 100755
--- a/dev-support/hbase_nightly_yetus.sh
+++ b/dev-support/hbase_nightly_yetus.sh
@@ -67,6 +67,9 @@ 
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[@]}")
+# Why are these not being picked up from hbase-personality?
+YETUS_ARGS=("--proclimit=10000" "${YETUS_ARGS[@]}")
+YETUS_ARGS=("--dockermemlimit=20g" "${YETUS_ARGS[@]}")
 
 # Currently, flaky list is calculated only for master branch.
 UNDERSCORED_BRANCH_NAME=$(echo ${BRANCH_NAME} | tr '.-' '_')

Reply via email to