[
https://issues.apache.org/jira/browse/HADOOP-4373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638747#action_12638747
]
Hemanth Yamijala commented on HADOOP-4373:
------------------------------------------
The new patch preserves the change done in the first one, and makes two
additional changes:
- It modifies the queue comparator so that queues which do not have a
Guaranteed capacity come to the end of the list of queues
- No jobs are picked from a queue that does not have a guaranteed capacity.
It adds a test case that tests that GC is correctly computed, and jobs are not
assigned if GCs are zero for a queue.
Vivek, when the cluster is starting up and TTs are reporting in, based on the
percentage, GC for a queue could be zero. This is a transient condition, and we
can just make sure that we don't consider such a queue for assignment of tasks.
My rationale is if a queue doesn't have capacities, it cannot get tasks.
Let me know if this makes sense.
> Guaranteed Capacity calculation is not calculated correctly
> -----------------------------------------------------------
>
> Key: HADOOP-4373
> URL: https://issues.apache.org/jira/browse/HADOOP-4373
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/capacity-sched
> Affects Versions: 0.19.0
> Reporter: Karam Singh
> Assignee: Hemanth Yamijala
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: HADOOP-4373.patch, HADOOP-4373.patch
>
>
> Guaranteed Capacity calculation is not calculated correctly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.