File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ pipeline {
4343 flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase%20Nightly/job/${BRANCH_NAME}" --is-yetus True --max-builds 10)
4444 flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase-Flaky-Tests/job/${BRANCH_NAME}" --is-yetus False --max-builds 30)
4545 docker build -t hbase-dev-support dev-support
46- docker run -v "${WORKSPACE}":/hbase --workdir=/hbase hbase-dev-support python dev-support/flaky-tests/report-flakies.py --mvn -v "${flaky_args[@]}"
46+ docker run --ulimit nproc=12500 - v "${WORKSPACE}":/hbase --workdir=/hbase hbase-dev-support python dev-support/flaky-tests/report-flakies.py --mvn -v "${flaky_args[@]}"
4747'''
4848 }
4949 }
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ function personality_globals
8282 # Yetus 0.7.0 enforces limits. Default proclimit is 1000.
8383 # Up it. See HBASE-19902 for how we arrived at this number.
8484 # shellcheck disable=SC2034
85- PROCLIMIT=10000
85+ PROC_LIMIT=12500
8686
8787 # Set docker container to run with 20g. Default is 4g in yetus.
8888 # See HBASE-19902 for how we arrived at 20g.
Original file line number Diff line number Diff line change 159159echo " Successfully built ${IMAGE_NAME} ."
160160
161161echo " Starting hbase shell..."
162- docker run -it ${IMAGE_NAME}
162+ docker run --ulimit nproc=12500 - it ${IMAGE_NAME}
Original file line number Diff line number Diff line change @@ -65,8 +65,6 @@ YETUS_ARGS=("--sentinel" "${YETUS_ARGS[@]}")
6565YETUS_ARGS=(" --branch=${BRANCH_NAME} " " ${YETUS_ARGS[@]} " )
6666YETUS_ARGS=(" --tests-filter=${TESTS_FILTER} " " ${YETUS_ARGS[@]} " )
6767YETUS_ARGS=(" --ignore-unknown-options=true" " ${YETUS_ARGS[@]} " )
68- # Why are these not being picked up from hbase-personality?
69- YETUS_ARGS=(" --proclimit=10000" " ${YETUS_ARGS[@]} " )
7068YETUS_ARGS=(" --dockermemlimit=20g" " ${YETUS_ARGS[@]} " )
7169
7270if [[ -n " ${EXCLUDE_TESTS_URL} " ]]; then
Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ YETUS_ARGS+=("--reapermode=kill")
102102# set relatively high limits for ASF machines
103103# changing these to higher values may cause problems
104104# with other jobs on systemd-enabled machines
105- YETUS_ARGS+=(" --proclimit=10000" )
106105YETUS_ARGS+=(" --dockermemlimit=20g" )
107106# -1 spotbugs issues that show up prior to the patch being applied
108107YETUS_ARGS+=(" --spotbugs-strict-precheck" )
You can’t perform that action at this time.
0 commit comments