[
https://issues.apache.org/jira/browse/YARN-2056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106219#comment-14106219
]
Wangda Tan commented on YARN-2056:
----------------------------------
Hi [~eepayne],
I think you're right, we can skip the leafQueue, just return a null value in
{{cloneQueue}} when we want to skip it, and add it to TempQueue only if it's
not null.
But as you said, we need a the queue to properly calculate {{IdealAssignment}},
some queues are missing may cause guaranteed resource cannot be calculate
correct.
An alternative is,
Still add a config "disable-preemption" in queue level, and in
{{getContainersToPreempt}}, we can check if a queue should skip. Any thoughts?
Thanks,
Wangda
> Disable preemption at Queue level
> ---------------------------------
>
> Key: YARN-2056
> URL: https://issues.apache.org/jira/browse/YARN-2056
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Affects Versions: 2.4.0
> Reporter: Mayank Bansal
> Assignee: Eric Payne
> Attachments: YARN-2056.201408202039.txt
>
>
> We need to be able to disable preemption at individual queue level
--
This message was sent by Atlassian JIRA
(v6.2#6252)