[
https://issues.apache.org/jira/browse/HADOOP-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hemanth Yamijala updated HADOOP-4426:
-------------------------------------
Attachment: HADOOP-4426.patch
{{testJobRunStateChange}} was setting the guaranteed capacity percentage as 1%.
Before HADOOP-4373, this would have returned a task nevertheless. Fixed the
test case to set it to 100%.
{{testCapacityBasedAllocation}} was broken by changes in HADOOP-4053. As
{{jobUpdated}} is not called now from the capacity scheduler, but instead only
from the real JobTracker, the job which was to be picked up was not moved to
the running queue. The test case is updated to raise the required event.
> TestCapacityScheduler is broken
> -------------------------------
>
> Key: HADOOP-4426
> URL: https://issues.apache.org/jira/browse/HADOOP-4426
> Project: Hadoop Core
> Issue Type: Test
> Components: contrib/capacity-sched
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Hemanth Yamijala
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: HADOOP-4426.patch
>
>
> The commits for HADOOP-4053 and HADOOP-4373 caused each other's test cases to
> break. The patches were being worked on in parallel, and hence the break
> wasn't caught earlier.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.