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 2018/02/02 04:27:10 UTC

hbase git commit: HBASE-19901 HBASE-19901 Up yetus proclimit on nightlies; REAPPLY TO TEST

Repository: hbase
Updated Branches:
  refs/heads/branch-2 efed668f7 -> 1dc640c29


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/1dc640c2
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/1dc640c2
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/1dc640c2

Branch: refs/heads/branch-2
Commit: 1dc640c29697a95ae8aa1025c7e639791a16387c
Parents: efed668
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:05 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/1dc640c2/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/1dc640c2/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 '.-' '_')