You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Arun C Murthy (JIRA)" <ji...@apache.org> on 2011/08/11 02:19:27 UTC

[jira] [Updated] (MAPREDUCE-2727) MR-279: SleepJob throws divide by zero exception when count = 0

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

Arun C Murthy updated MAPREDUCE-2727:
-------------------------------------

    Status: Open  (was: Patch Available)

Jeffrey, the patch looks good.

I think this is an appropriate time to remove the copy of SleepJob in mrv2, it's always bugged me.

Also, will the same patch apply to trunk - can you pls check? Else, I can wait for the merge and just commit to trunk. Thoughts? Thanks.

> MR-279: SleepJob throws divide by zero exception when count = 0
> ---------------------------------------------------------------
>
>                 Key: MAPREDUCE-2727
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2727
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Jeffrey Naisbitt
>            Assignee: Jeffrey Naisbitt
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-2727.patch
>
>
> When the count is 0 for mappers or reducers, a divide-by-zero exception is thrown.  There are existing checks to error out when count < 0, which obviously doesn't handle the 0 case.  This is causing the MRReliabilityTest to fail.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira