-
Notifications
You must be signed in to change notification settings - Fork 28.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
[SPARK-45527][CORE][TESTS][FOLLOW-UP] Reduce the number of test cases in fraction resource calculation #45268
Conversation
92741b3
to
340eeca
Compare
Just wondering why we take 5 not just 1 to even cut down the number of tests to run? |
no specific reason to pick 5. Just for testing enough cases of fraction resource calculation |
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.
+1, LGTM. A nice solution! :)
Merged to master. |
I manually ran the tests, and linter to make sure. |
Ur, this seems to be a partial fix. Could you reduce these together, @HyukjinKwon ?
|
Just for the record, after this commit, the following is the result on
|
ahh .. I am sorry for rushing it. I will make a followup. |
… in fraction resource calculation ### What changes were proposed in this pull request? There are two more instances to fix in #45268 mistakenly missed. This PR fixes both. ### Why are the changes needed? See #45268 ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? Manually ### Was this patch authored or co-authored using generative AI tooling? No. Closes #45272 from HyukjinKwon/SPARK-45527-followup2. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
…e, and reduce the resource usage ### What changes were proposed in this pull request? This PR is a followup of #45272, #45268, #45264 and #45283 that increase timeout more and decrease the resource needed during the CI. ### Why are the changes needed? To make the scheduled build pass https://github.com/apache/spark/actions/runs/8054862135/job/22053180441. At least as far as I can tell, those changes are effective (makes tests less flaky and less fail). ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? I manually ran then via IDE. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #45297 from HyukjinKwon/SPARK-47185-SPARK-47181-followup. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
… in fraction resource calculation ### What changes were proposed in this pull request? This PR is a followup of apache#43494, which reduces the test cases by shuffling `taskNum`, and taking 5. ### Why are the changes needed? It runts too many test cases, https://github.com/apache/spark/actions/runs/8054862135/job/22000403549 which consumes the limited resources in CI ``` - SPARK-45527 default rp with task.gpu.amount=1.0 can restrict 1 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.5 can restrict 2 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.3333333333333333 can restrict 3 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.25 can restrict 4 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.2 can restrict 5 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1666666666666666 can restrict 6 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1428571428571428 can restrict 7 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.125 can restrict 8 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1111111111111111 can restrict 9 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1 can restrict 10 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0909090909090909 can restrict 11 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0833333333333333 can restrict 12 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0769230769230769 can restrict 13 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0714285714285714 can restrict 14 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0666666666666666 can restrict 15 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0625 can restrict 16 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0588235294117647 can restrict 17 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0555555555555555 can restrict 18 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0526315789473684 can restrict 19 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.05 can restrict 20 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=1.0 can restrict 1 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.5 can restrict 2 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.3333333333333333 can restrict 3 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.25 can restrict 4 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.2 can restrict 5 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1666666666666666 can restrict 6 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1428571428571428 can restrict 7 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.125 can restrict 8 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1111111111111111 can restrict 9 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1 can restrict 10 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0909090909090909 can restrict 11 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0833333333333333 can restrict 12 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0769230769230769 can restrict 13 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0714285714285714 can restrict 14 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0666666666666666 can restrict 15 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0625 can restrict 16 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0588235294117647 can restrict 17 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0555555555555555 can restrict 18 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0526315789473684 can restrict 19 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.05 can restrict 20 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=1.0 can restrict 1 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.5 can restrict 2 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.3333333333333333 can restrict 3 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.25 can restrict 4 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.2 can restrict 5 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.1666666666666666 can restrict 6 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.1428571428571428 can restrict 7 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.125 can restrict 8 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.1111111111111111 can restrict 9 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.1 can restrict 10 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0909090909090909 can restrict 11 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0833333333333333 can restrict 12 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0769230769230769 can restrict 13 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0714285714285714 can restrict 14 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0666666666666666 can restrict 15 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0625 can restrict 16 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0588235294117647 can restrict 17 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0555555555555555 can restrict 18 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0526315789473684 can restrict 19 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.05 can restrict 20 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=1.0 can restrict 1 tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.5 can restrict 2 tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.3333333333333333 can restrict 3 tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.25 can restrict 4 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0666666666666666 can restrict 15 tasks run in the same executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0625 can restrict 16 tasks run in the same executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0588235294117647 can restrict 17 tasks run in the same executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0555555555555555 can restrict 18 tasks run in the same executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0526315789473684 can restrict 19 tasks run in the same executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.05 can restrict 20 tasks run in the same executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=1.0 can restrict 1 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.5 can restrict 2 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.3333333333333333 can restrict 3 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.25 can restrict 4 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.2 can restrict 5 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1666666666666666 can restrict 6 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1428571428571428 can restrict 7 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.125 can restrict 8 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1111111111111111 can restrict 9 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1 can restrict 10 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0909090909090909 can restrict 11 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0833333333333333 can restrict 12 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0769230769230769 can restrict 13 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0714285714285714 can restrict 14 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0666666666666666 can restrict 15 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0625 can restrict 16 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0588235294117647 can restrict 17 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0555555555555555 can restrict 18 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0526315789473684 can restrict 19 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.05 can restrict 20 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=1.0 can restrict 1 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.5 can restrict 2 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.3333333333333333 can restrict 3 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.25 can restrict 4 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.2 can restrict 5 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1666666666666666 can restrict 6 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1428571428571428 can restrict 7 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.125 can restrict 8 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1111111111111111 can restrict 9 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1 can restrict 10 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0909090909090909 can restrict 11 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0833333333333333 can restrict 12 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0769230769230769 can restrict 13 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0714285714285714 can restrict 14 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0666666666666666 can restrict 15 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0625 can restrict 16 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0588235294117647 can restrict 17 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0555555555555555 can restrict 18 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0526315789473684 can restrict 19 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.05 can restrict 20 tasks run on the different executor Warning: [766.327s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attribute ``` ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? Manually ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#45268 from HyukjinKwon/SPARK-45527-followup. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
… in fraction resource calculation ### What changes were proposed in this pull request? There are two more instances to fix in apache#45268 mistakenly missed. This PR fixes both. ### Why are the changes needed? See apache#45268 ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? Manually ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#45272 from HyukjinKwon/SPARK-45527-followup2. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
…e, and reduce the resource usage ### What changes were proposed in this pull request? This PR is a followup of apache#45272, apache#45268, apache#45264 and apache#45283 that increase timeout more and decrease the resource needed during the CI. ### Why are the changes needed? To make the scheduled build pass https://github.com/apache/spark/actions/runs/8054862135/job/22053180441. At least as far as I can tell, those changes are effective (makes tests less flaky and less fail). ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? I manually ran then via IDE. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#45297 from HyukjinKwon/SPARK-47185-SPARK-47181-followup. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
… in fraction resource calculation ### What changes were proposed in this pull request? This PR is a followup of apache#43494, which reduces the test cases by shuffling `taskNum`, and taking 5. ### Why are the changes needed? It runts too many test cases, https://github.com/apache/spark/actions/runs/8054862135/job/22000403549 which consumes the limited resources in CI ``` - SPARK-45527 default rp with task.gpu.amount=1.0 can restrict 1 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.5 can restrict 2 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.3333333333333333 can restrict 3 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.25 can restrict 4 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.2 can restrict 5 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1666666666666666 can restrict 6 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1428571428571428 can restrict 7 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.125 can restrict 8 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1111111111111111 can restrict 9 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1 can restrict 10 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0909090909090909 can restrict 11 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0833333333333333 can restrict 12 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0769230769230769 can restrict 13 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0714285714285714 can restrict 14 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0666666666666666 can restrict 15 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0625 can restrict 16 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0588235294117647 can restrict 17 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0555555555555555 can restrict 18 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0526315789473684 can restrict 19 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.05 can restrict 20 barrier tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=1.0 can restrict 1 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.5 can restrict 2 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.3333333333333333 can restrict 3 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.25 can restrict 4 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.2 can restrict 5 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1666666666666666 can restrict 6 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1428571428571428 can restrict 7 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.125 can restrict 8 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1111111111111111 can restrict 9 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.1 can restrict 10 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0909090909090909 can restrict 11 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0833333333333333 can restrict 12 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0769230769230769 can restrict 13 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0714285714285714 can restrict 14 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0666666666666666 can restrict 15 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0625 can restrict 16 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0588235294117647 can restrict 17 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0555555555555555 can restrict 18 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.0526315789473684 can restrict 19 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=0.05 can restrict 20 tasks run in the same executor - SPARK-45527 default rp with task.gpu.amount=1.0 can restrict 1 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.5 can restrict 2 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.3333333333333333 can restrict 3 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.25 can restrict 4 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.2 can restrict 5 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.1666666666666666 can restrict 6 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.1428571428571428 can restrict 7 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.125 can restrict 8 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.1111111111111111 can restrict 9 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.1 can restrict 10 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0909090909090909 can restrict 11 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0833333333333333 can restrict 12 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0769230769230769 can restrict 13 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0714285714285714 can restrict 14 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0666666666666666 can restrict 15 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0625 can restrict 16 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0588235294117647 can restrict 17 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0555555555555555 can restrict 18 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.0526315789473684 can restrict 19 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.05 can restrict 20 barrier tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=1.0 can restrict 1 tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.5 can restrict 2 tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.3333333333333333 can restrict 3 tasks run on the different executor - SPARK-45527 default rp with task.gpu.amount=0.25 can restrict 4 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0666666666666666 can restrict 15 tasks run in the same executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0625 can restrict 16 tasks run in the same executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0588235294117647 can restrict 17 tasks run in the same executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0555555555555555 can restrict 18 tasks run in the same executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0526315789473684 can restrict 19 tasks run in the same executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.05 can restrict 20 tasks run in the same executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=1.0 can restrict 1 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.5 can restrict 2 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.3333333333333333 can restrict 3 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.25 can restrict 4 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.2 can restrict 5 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1666666666666666 can restrict 6 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1428571428571428 can restrict 7 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.125 can restrict 8 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1111111111111111 can restrict 9 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1 can restrict 10 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0909090909090909 can restrict 11 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0833333333333333 can restrict 12 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0769230769230769 can restrict 13 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0714285714285714 can restrict 14 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0666666666666666 can restrict 15 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0625 can restrict 16 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0588235294117647 can restrict 17 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0555555555555555 can restrict 18 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0526315789473684 can restrict 19 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.05 can restrict 20 barrier tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=1.0 can restrict 1 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.5 can restrict 2 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.3333333333333333 can restrict 3 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.25 can restrict 4 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.2 can restrict 5 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1666666666666666 can restrict 6 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1428571428571428 can restrict 7 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.125 can restrict 8 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1111111111111111 can restrict 9 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.1 can restrict 10 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0909090909090909 can restrict 11 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0833333333333333 can restrict 12 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0769230769230769 can restrict 13 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0714285714285714 can restrict 14 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0666666666666666 can restrict 15 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0625 can restrict 16 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0588235294117647 can restrict 17 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0555555555555555 can restrict 18 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.0526315789473684 can restrict 19 tasks run on the different executor - SPARK-45527 TaskResourceProfile with task.gpu.amount=0.05 can restrict 20 tasks run on the different executor Warning: [766.327s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (EAGAIN) for attribute ``` ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? Manually ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#45268 from HyukjinKwon/SPARK-45527-followup. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
… in fraction resource calculation ### What changes were proposed in this pull request? There are two more instances to fix in apache#45268 mistakenly missed. This PR fixes both. ### Why are the changes needed? See apache#45268 ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? Manually ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#45272 from HyukjinKwon/SPARK-45527-followup2. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
…e, and reduce the resource usage ### What changes were proposed in this pull request? This PR is a followup of apache#45272, apache#45268, apache#45264 and apache#45283 that increase timeout more and decrease the resource needed during the CI. ### Why are the changes needed? To make the scheduled build pass https://github.com/apache/spark/actions/runs/8054862135/job/22053180441. At least as far as I can tell, those changes are effective (makes tests less flaky and less fail). ### Does this PR introduce _any_ user-facing change? No, test-only. ### How was this patch tested? I manually ran then via IDE. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#45297 from HyukjinKwon/SPARK-47185-SPARK-47181-followup. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
What changes were proposed in this pull request?
This PR is a followup of #43494, which reduces the test cases by shuffling
taskNum
, and taking 5.Why are the changes needed?
It runts too many test cases, https://github.com/apache/spark/actions/runs/8054862135/job/22000403549 which consumes the limited resources in CI
Does this PR introduce any user-facing change?
No, test-only.
How was this patch tested?
Manually
Was this patch authored or co-authored using generative AI tooling?
No.