[ https://issues.apache.org/jira/browse/HADOOP-4558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vivek Ratan updated HADOOP-4558: -------------------------------- Attachment: 4558.1.patch Attached patch (4558.1.patch) has a fairly simple fix. We update the # of pending for the queue when a job is added. Also made jobAdded() and jobRemoved() synchronized, as we're updating common data structures. > Scheduler fails to reclaim capacity if Jobs are submitted to queue one after > the other > -------------------------------------------------------------------------------------- > > Key: HADOOP-4558 > URL: https://issues.apache.org/jira/browse/HADOOP-4558 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/capacity-sched > Affects Versions: 0.19.0 > Environment: Cluster Capacity Maps=Reduces =210 each > Two Queues: > Q1: default, GC (%) =40, GC=84 (Maps and Reduces each). Reclaim time = 3 > mins. > Q2: test_q1, GC (%) =60, GC=126 (Maps and Reduces each) Reclaim time = 2 mins > Reporter: Karam Singh > Attachments: 4558.1.patch > > > Scheduler fails to reclaim capacity if Jobs are submitted to queue one after > the other. > First job submitted with tasks equal to cluster's M/R Capacity > Second is submitted to different queue when all tasks of First Job are > running, scheduler fails to reclaim capacity for second job. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.