-
Notifications
You must be signed in to change notification settings - Fork 9.1k
YARN-11573. Add config option to make container allocation prefer nodes without reserved containers #6098
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. |
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.
Thanks @szilard-nemeth for the patch. I had a small comment, and can you please check the blanks/checkstyle issues?
@@ -154,6 +154,12 @@ public class CapacitySchedulerConfiguration extends ReservationSchedulerConfigur | |||
@Private | |||
public static final boolean DEFAULT_RESERVE_CONT_LOOK_ALL_NODES = true; | |||
|
|||
public static final String PREFER_ALLOCATE_ON_NODES_WITHOUT_RESERVED_CONTAINERS = PREFIX |
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.
Nit: isn't this essentially a skip action on nodes that have reserved container?
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.
Thanks @szilard-nemeth for the patch. I had a small comment, and can you please check the blanks/checkstyle issues?
d12476f
to
ffc0cc9
Compare
🎊 +1 overall
This message was automatically generated. |
Thanks @szilard-nemeth for the update, LGTM. Merging to trunk. |
…es without reserved containers (apache#6098)
Description of PR
How was this patch tested?
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?