HBASE-24126 Up the container nproc uplimit from 10000 to 12500 (#1504)
This commit is contained in:
parent
f61aa0292d
commit
62a488b946
|
@ -81,11 +81,8 @@ function personality_globals
|
||||||
|
|
||||||
# Yetus 0.7.0 enforces limits. Default proclimit is 1000.
|
# Yetus 0.7.0 enforces limits. Default proclimit is 1000.
|
||||||
# Up it. See HBASE-19902 for how we arrived at this number.
|
# Up it. See HBASE-19902 for how we arrived at this number.
|
||||||
# NOTE: I don't think changing this has an effect. Set the
|
|
||||||
# --proclimit passed to yetus. This seems to do what we
|
|
||||||
# need changing proclimit.
|
|
||||||
#shellcheck disable=SC2034
|
#shellcheck disable=SC2034
|
||||||
PROCLIMIT=12500
|
PROC_LIMIT=12500
|
||||||
|
|
||||||
# Set docker container to run with 20g. Default is 4g in yetus.
|
# Set docker container to run with 20g. Default is 4g in yetus.
|
||||||
# See HBASE-19902 for how we arrived at 20g.
|
# See HBASE-19902 for how we arrived at 20g.
|
||||||
|
@ -519,7 +516,6 @@ function hadoopcheck_parse_args
|
||||||
## @stability evolving
|
## @stability evolving
|
||||||
function hadoopcheck_docker_support
|
function hadoopcheck_docker_support
|
||||||
{
|
{
|
||||||
DOCKER_EXTRAARGS=("${DOCKER_EXTRAARGS[@]}" "--ulimit" "nproc=12500")
|
|
||||||
DOCKER_EXTRAARGS=("${DOCKER_EXTRAARGS[@]}" "--env=QUICK_HADOOPCHECK=${QUICK_HADOOPCHECK}")
|
DOCKER_EXTRAARGS=("${DOCKER_EXTRAARGS[@]}" "--env=QUICK_HADOOPCHECK=${QUICK_HADOOPCHECK}")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -65,8 +65,6 @@ YETUS_ARGS=("--sentinel" "${YETUS_ARGS[@]}")
|
||||||
YETUS_ARGS=("--branch=${BRANCH_NAME}" "${YETUS_ARGS[@]}")
|
YETUS_ARGS=("--branch=${BRANCH_NAME}" "${YETUS_ARGS[@]}")
|
||||||
YETUS_ARGS=("--tests-filter=${TESTS_FILTER}" "${YETUS_ARGS[@]}")
|
YETUS_ARGS=("--tests-filter=${TESTS_FILTER}" "${YETUS_ARGS[@]}")
|
||||||
YETUS_ARGS=("--ignore-unknown-options=true" "${YETUS_ARGS[@]}")
|
YETUS_ARGS=("--ignore-unknown-options=true" "${YETUS_ARGS[@]}")
|
||||||
# Why are these not being picked up from hbase-personality?
|
|
||||||
YETUS_ARGS=("--proclimit=12500" "${YETUS_ARGS[@]}")
|
|
||||||
YETUS_ARGS=("--dockermemlimit=20g" "${YETUS_ARGS[@]}")
|
YETUS_ARGS=("--dockermemlimit=20g" "${YETUS_ARGS[@]}")
|
||||||
|
|
||||||
if [[ -n "${EXCLUDE_TESTS_URL}" ]]; then
|
if [[ -n "${EXCLUDE_TESTS_URL}" ]]; then
|
||||||
|
|
|
@ -102,7 +102,6 @@ YETUS_ARGS+=("--reapermode=kill")
|
||||||
# set relatively high limits for ASF machines
|
# set relatively high limits for ASF machines
|
||||||
# changing these to higher values may cause problems
|
# changing these to higher values may cause problems
|
||||||
# with other jobs on systemd-enabled machines
|
# with other jobs on systemd-enabled machines
|
||||||
YETUS_ARGS+=("--proclimit=12500")
|
|
||||||
YETUS_ARGS+=("--dockermemlimit=20g")
|
YETUS_ARGS+=("--dockermemlimit=20g")
|
||||||
# -1 spotbugs issues that show up prior to the patch being applied
|
# -1 spotbugs issues that show up prior to the patch being applied
|
||||||
YETUS_ARGS+=("--spotbugs-strict-precheck")
|
YETUS_ARGS+=("--spotbugs-strict-precheck")
|
||||||
|
|
Loading…
Reference in New Issue