From 0db7db3cd1022f794c1cf6d83858e7c83964cd73 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Thu, 1 Feb 2018 14:06:02 -0800 Subject: [PATCH] HBASE-19901 Up yetus proclimit on nightlies; ADDENDUM -- up proclimit from 6k to 10k and set Docker memory limit of 20G (default is 4G) --- dev-support/hbase-personality.sh | 11 +++++++---- dev-support/hbase_nightly_yetus.sh | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 80d25866a36..5526e09d598 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -65,10 +65,13 @@ function personality_globals # Override the maven options MAVEN_OPTS="${MAVEN_OPTS:-"-Xmx3100M"}" - # Yetus 0.7.0 enforces limits. - # Default proclimit is 1000. Up it. - # We seem to use close to 3k. - PROCLIMIT=5000 + # 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. diff --git a/dev-support/hbase_nightly_yetus.sh b/dev-support/hbase_nightly_yetus.sh index 3e6fc7c97d7..651a2e22d77 100755 --- a/dev-support/hbase_nightly_yetus.sh +++ b/dev-support/hbase_nightly_yetus.sh @@ -68,6 +68,7 @@ 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 '.-' '_')