[release-1.14] Fixed issue where jobs with subgroups but not hard networkTopology.mode could not be scheduled.#5041
Conversation
…de could not be scheduled. Signed-off-by: zhengchenyu <zhengchenyu16@163.com> Signed-off-by: JesseStutler <chenzicong4@huawei.com>
Summary of ChangesHello @volcano-sh-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request resolves an issue where jobs configured with subgroup policies failed to schedule if they lacked an explicit hard network topology mode. The changes extend the core job allocation logic to properly recognize and schedule such jobs, ensuring that subgroup policies are respected independently of network topology constraints. This enhancement improves the robustness and flexibility of the scheduler for complex job configurations. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request addresses a bug where jobs with subgroups defined via SubJobPolicy but without a hard network topology constraint were not being scheduled correctly. The fix modifies the allocation logic to route such jobs to the allocateForJob function, which is designed to handle sub-job scheduling. This change is well-supported by the addition of a new unit test and an end-to-end test that specifically cover this scenario. The test utilities have also been updated to facilitate these new tests. The fix is correct, targeted, and effectively resolves the issue.
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JesseStutler The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
### What changes were proposed in this pull request? This PR aims to upgrade `Volcano` to 1.14.1 in K8s integration test document and GA job. ### Why are the changes needed? To use the latest version for testing and documentation for Apache Spark 4.2.0. - https://github.com/volcano-sh/volcano/releases/tag/v1.14.1 - volcano-sh/volcano#5041 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass GA. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: `Gemini 3.1 Pro (High)` on `Antigravity` Closes #54502 from dongjoon-hyun/SPARK-55703. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This is an automated cherry-pick of #5038