Carlo Curino created YARN-1957:
----------------------------------
Summary: ProportionalCapacitPreemptionPolicy handling of corner
cases...
Key: YARN-1957
URL: https://issues.apache.org/jira/browse/YARN-1957
Project: Hadoop YARN
Issue Type: Bug
Components: resourcemanager
Reporter: Carlo Curino
Assignee: Carlo Curino
The current version of ProportionalCapacityPreemptionPolicy should be improved
to deal with the following two scenarios:
1) when rebalancing over-capacity allocations, it potentially preempts without
considering the maxCapacity constraints of a queue (i.e., preempting possibly
more than strictly necessary)
2) a zero capacity queue is preempted even if there is no demand (coherent with
old use of zero-capacity to disabled queues)
The proposed patch fixes both issues, and introduce few new test cases.
--
This message was sent by Atlassian JIRA
(v6.2#6252)