hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Chen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-1845) FairScheduler.tasksToPeempt() can return negative number
Date Sat, 19 Jun 2010 02:22:25 GMT

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

Scott Chen updated MAPREDUCE-1845:
----------------------------------

    Attachment: MAPREDUCE-1845.20100717.txt

The patch simply check if tasksToPreempt is negative and set it back to zero.
The included unit test produced a negative number of tasksToPreempt before adding the fix.

> FairScheduler.tasksToPeempt() can return negative number
> --------------------------------------------------------
>
>                 Key: MAPREDUCE-1845
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1845
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/fair-share
>    Affects Versions: 0.22.0
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-1845.20100717.txt
>
>
> This method can return negative number. This will cause the preemption to under-preempt.
> The bug was discovered by Joydeep.

-- 
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