-
Notifications
You must be signed in to change notification settings - Fork 9.2k
YARN-10380: Import logic of multi-node allocation in CapacityScheduler #2494
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
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
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.
Why remove this variable and add new within if-else block?
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.
Fixed it.
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.
| //Get all partitions | |
| // Get all partitions |
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.
Fixed it.
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.
Due to getCandiateNodeSet(String) method maybe return null, so call allocateContainersToNode can cause NPE.
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.
Fixed it.
|
💔 -1 overall
This message was automatically generated. |
|
Thanks @jiwq for review. |
|
💔 -1 overall
This message was automatically generated. |
|
@jiwq Thanks for the review. @qizhu-lucas Thanks for the hard work! |
|
@tangzhankun Thanks for your review, it passed in my local test, and it is unrelated to this change. |
|
@qizhu-lucas Thanks a lot! I'll merge it if no more comments. @jiwq |
|
+1 Thanks @qizhu-lucas for the contribution and @tangzhankun for the review. |

##For YARN-10380 issue
Import logic of multi-node allocation in CapacityScheduler.