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 "Hadoop QA (JIRA)" <ji...@apache.org> on 2011/07/25 20:44:09 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13070671#comment-13070671 ] 

Hadoop QA commented on MAPREDUCE-2727:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12487741/MAPREDUCE-2727.patch
  against trunk revision 1150533.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 6 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/502//console

This message is automatically generated.

> 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