[ 
https://issues.apache.org/jira/browse/HADOOP-4731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652329#action_12652329
 ] 

Amar Kamat commented on HADOOP-4731:
------------------------------------

HADOOP-4513 fixes this issue for hadoop-0.20. The attached patch fixes the bug 
in hadoop-0.19 and also provides a testcase. HADOOP-4513 has removed 
{{JobQueuesManager.getWaitingJobQueue()}} api and hence a new test case needs 
to be submitted for hadoop-0.20.

> Job is not removed from the waiting jobs queue upon completion.
> ---------------------------------------------------------------
>
>                 Key: HADOOP-4731
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4731
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/capacity-sched
>    Affects Versions: 0.19.0
>            Reporter: Hemanth Yamijala
>            Assignee: Amar Kamat
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4731-v1.1.patch, HADOOP-4731-v1.patch
>
>
> When a job completes, the {{JobQueueManager}} removes this job from it's 
> internal structures, which is a queue of the running jobs and waiting jobs. 
> While the removal from the running jobs happens correctly, the removal from 
> the waiting jobs does not happen, if the job is still in the PREP state. This 
> was found while implementing HADOOP-4035, as described [by Vinod 
> here|https://issues.apache.org/jira/browse/HADOOP-4035?focusedCommentId=12650879#action_12650879].
>  The change was introduced in HADOOP-4471, which I should have caught in the 
> review. Sorry about that !

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to