Skip to content

HBASE-24126 Up the container nproc uplimit from 10000 to 12500 - #1450

Merged
saintstack merged 1 commit into
apache:masterfrom
saintstack:HBASE-24126
Apr 10, 2020
Merged

HBASE-24126 Up the container nproc uplimit from 10000 to 12500#1450
saintstack merged 1 commit into
apache:masterfrom
saintstack:HBASE-24126

Conversation

@saintstack

Copy link
Copy Markdown
Contributor

No description provided.

@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/1/console in case of problems.

2 similar comments
@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/1/console in case of problems.

@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/1/console in case of problems.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 34sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗shelldocs0m 0sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 33sMaven dependency ordering for branch
_ Patch Compile Tests _
+0 🆗mvndep0m 8sMaven dependency ordering for patch
-0 ⚠️shellcheck0m 2sThe patch generated 1 new + 9 unchanged - 1 fixed = 10 total (was 10)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
_ Other Tests _
+0 🆗asflicense0m 0sASF License check generated no output?
2m 18s
SubsystemReport/Notes
DockerClient=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1450
Optional Testsdupname asflicense shellcheck shelldocs
unameLinux 3a17135ae434 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 80d4a09
shellcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/1/artifact/yetus-general-check/output/diff-patch-shellcheck.txt
Max. process+thread count47 (vs. ulimit of 12500)
modulesC: U:
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/1/console
versionsgit=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) shellcheck=0.4.6
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 14sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 31sMaven dependency ordering for branch
_ Patch Compile Tests _
+0 🆗mvndep0m 8sMaven dependency ordering for patch
_ Other Tests _
2m 49s
SubsystemReport/Notes
DockerClient=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#1450
Optional Tests
unameLinux 7f68ff9e6500 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 80d4a09
Max. process+thread count52 (vs. ulimit of 12500)
modulesC: U:
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/1/console
versionsgit=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 56sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 44sMaven dependency ordering for branch
_ Patch Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for patch
_ Other Tests _
3m 43s
SubsystemReport/Notes
DockerClient=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile
GITHUB PR#1450
Optional Tests
unameLinux 0d85475155a2 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 80d4a09
Max. process+thread count47 (vs. ulimit of 12500)
modulesC: U:
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/1/console
versionsgit=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@saintstack

Copy link
Copy Markdown
ContributorAuthor

Will merge this to master in morning unless objection.

Comment threaddev-support/hbase-personality.sh Outdated
## @stability evolving
function hadoopcheck_docker_support
{
DOCKER_EXTRAARGS=("${DOCKER_EXTRAARGS[@]}" "--ulimit" "nproc=12500")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this should be here. we want this proc limit change all the time, not just when the hadoopcheck test is enabled.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't follow. The new 12500 number is put everywhere, not just here conditional on when hadoopcheck runs. Thanks for taking a look.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the reference you've added here is in the function that defines what is needed when we run docker specifically just when we're doing the hadoopcheck test.

if we need it all the time, then it should be elsewhere. It looks it should be coming in from the YETUS_ARGS that have been added to the wrapper. If that's the case, then removing it here should have no impact on what happens. If removing it here makes it so things don't do what you expect, then something else is broken because the inclusion here is only going to happen when the hadoopcheck test is enabled.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me push new patch w/ your change. Thanks @busbey

@saintstack

Copy link
Copy Markdown
ContributorAuthor

Address @busbey comment.

@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/2/console in case of problems.

2 similar comments
@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/2/console in case of problems.

@Apache-HBase

Copy link
Copy Markdown

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/2/console in case of problems.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 27sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗shelldocs0m 0sShelldocs was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 32sMaven dependency ordering for branch
_ Patch Compile Tests _
+0 🆗mvndep0m 8sMaven dependency ordering for patch
-0 ⚠️shellcheck0m 3sThe patch generated 1 new + 9 unchanged - 1 fixed = 10 total (was 10)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
_ Other Tests _
+0 🆗asflicense0m 1sASF License check generated no output?
2m 10s
SubsystemReport/Notes
DockerClient=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1450
Optional Testsdupname asflicense shellcheck shelldocs
unameLinux 8a6b878b04bf 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / eb7df04
shellcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/2/artifact/yetus-general-check/output/diff-patch-shellcheck.txt
Max. process+thread count44 (vs. ulimit of 12500)
modulesC: U:
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/2/console
versionsgit=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) shellcheck=0.4.6
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 38sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 35sMaven dependency ordering for branch
_ Patch Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for patch
_ Other Tests _
2m 16s
SubsystemReport/Notes
DockerClient=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/2/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile
GITHUB PR#1450
Optional Tests
unameLinux 1caf84c7e2b3 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / eb7df04
Max. process+thread count52 (vs. ulimit of 12500)
modulesC: U:
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/2/console
versionsgit=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 48sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 36sMaven dependency ordering for branch
_ Patch Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for patch
_ Other Tests _
2m 33s
SubsystemReport/Notes
DockerClient=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#1450
Optional Tests
unameLinux ddb109d14920 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / eb7df04
Max. process+thread count52 (vs. ulimit of 12500)
modulesC: U:
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1450/2/console
versionsgit=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

flaky_args=("${flaky_args[@]}" --urls "${JENKINS_URL}/job/HBase-Flaky-Tests/job/${BRANCH_NAME}" --is-yetus False --max-builds 30)
docker build -t hbase-dev-support dev-support
docker run -v "${WORKSPACE}":/hbase --workdir=/hbase hbase-dev-support python dev-support/flaky-tests/report-flakies.py --mvn -v "${flaky_args[@]}"
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[@]}"

Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
ContributorAuthor

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.

@@ -159,4 +159,4 @@ done
echo "Successfully built ${IMAGE_NAME}."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The 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.

# 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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yeah. In yetus, the env variable is PROC_LIMIT. You found a bug :)

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me try filing an issue.

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[@]}")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the above change for PROC_LIMIT works, this line can be dropped.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. For now they needed. Let me file an issue.

# changing these to higher values may cause problems
# with other jobs on systemd-enabled machines
YETUS_ARGS+=("--proclimit=10000")
YETUS_ARGS+=("--proclimit=12500")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

likewise.

@saintstack
saintstack merged commit 14342b6 into apache:masterApr 10, 2020
asfgit pushed a commit that referenced this pull request Apr 10, 2020
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
@saintstack

Copy link
Copy Markdown
ContributorAuthor

After push, I went to file issue against YETUS and noticed YETUS expects PROC_LIMIT, not PROCLIMIT as I have in our personality (an old error but relevant here). I reverted. Let me see if using PROC_LIMIT instead helps here. New PR coming.

@ndimiduk

Copy link
Copy Markdown
Member

After push, I went to file issue against YETUS and noticed YETUS expects PROC_LIMIT, not PROCLIMIT as I have in our personality (an old error but relevant here). I reverted. Let me see if using PROC_LIMIT instead helps here. New PR coming.

Oops. I meant to say that you found a bug in our personality, not in Yetus. That wasn't clear in my earlier comment.

asfgit pushed a commit that referenced this pull request Apr 13, 2020
asfgit pushed a commit that referenced this pull request Apr 13, 2020
@saintstack

Copy link
Copy Markdown
ContributorAuthor

bq. Oops. I meant to say that you found a bug in our personality, not in Yetus. That wasn't clear in my earlier comment.

Took me a while but now I get what you meant.

thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
…e#1450)
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
…e#1450)
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
…e#1450)
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
ddupg pushed a commit to ddupg/hbase that referenced this pull request Apr 20, 2020
…e#1450)
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
ddupg pushed a commit to ddupg/hbase that referenced this pull request Apr 20, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@saintstack@Apache-HBase@ndimiduk@busbey@Reidddddd