hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hemanth Yamijala (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-4274) Capacity scheduler's implementation of getJobs modifies the list of running jobs inadvertently
Date Thu, 25 Sep 2008 15:57:44 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hemanth Yamijala updated HADOOP-4274:
-------------------------------------

    Attachment: HADOOP-4274.patch

Simple patch that addresses the issue. We copy the list of Jobs to a new collection and return
that to the caller. Also added a test case that verifies the bug is fixed.

> Capacity scheduler's implementation of getJobs modifies the list of running jobs inadvertently
> ----------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4274
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4274
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/capacity-sched
>    Affects Versions: 0.19.0
>            Reporter: Hemanth Yamijala
>            Assignee: Hemanth Yamijala
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: HADOOP-4274.patch
>
>
> The implementation of the {{getJobs}} API gets the running jobs queue from the {{JobQueueManager}}.
If it is not null, it appends waiting jobs to the list and returns that. This modifies the
original list of running jobs and can affect the scheduler drastically.

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


Mime
View raw message