-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-24126 Up the container nproc uplimit from 10000 to 12500 #1450
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,8 +81,11 @@ function personality_globals | |
|
||
# Yetus 0.7.0 enforces limits. Default proclimit is 1000. | ||
# 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. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, yeah. In yetus, the env variable is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let me try filing an issue. |
||
#shellcheck disable=SC2034 | ||
PROCLIMIT=10000 | ||
PROCLIMIT=12500 | ||
|
||
# Set docker container to run with 20g. Default is 4g in yetus. | ||
# See HBASE-19902 for how we arrived at 20g. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,4 +159,4 @@ done | |
echo "Successfully built ${IMAGE_NAME}." | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh no, I didn't know this script existed. I probably broke it with the improvements that went in with HBASE-23945. |
||
echo "Starting hbase shell..." | ||
docker run -it ${IMAGE_NAME} | ||
docker run --ulimit nproc=12500 -it ${IMAGE_NAME} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ YETUS_ARGS=("--branch=${BRANCH_NAME}" "${YETUS_ARGS[@]}") | |
YETUS_ARGS=("--tests-filter=${TESTS_FILTER}" "${YETUS_ARGS[@]}") | ||
YETUS_ARGS=("--ignore-unknown-options=true" "${YETUS_ARGS[@]}") | ||
# Why are these not being picked up from hbase-personality? | ||
YETUS_ARGS=("--proclimit=10000" "${YETUS_ARGS[@]}") | ||
YETUS_ARGS=("--proclimit=12500" "${YETUS_ARGS[@]}") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the above change for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah. For now they needed. Let me file an issue. |
||
YETUS_ARGS=("--dockermemlimit=20g" "${YETUS_ARGS[@]}") | ||
|
||
if [[ -n "${EXCLUDE_TESTS_URL}" ]]; then | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,7 +102,7 @@ YETUS_ARGS+=("--reapermode=kill") | |
# set relatively high limits for ASF machines | ||
# changing these to higher values may cause problems | ||
# with other jobs on systemd-enabled machines | ||
YETUS_ARGS+=("--proclimit=10000") | ||
YETUS_ARGS+=("--proclimit=12500") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. likewise. |
||
YETUS_ARGS+=("--dockermemlimit=20g") | ||
# -1 spotbugs issues that show up prior to the patch being applied | ||
YETUS_ARGS+=("--spotbugs-strict-precheck") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yikes. This is just hiding over here in the corner. TODO: update flaky reporting to use yetus to run builds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, one way to run all builds would be sweet.