hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-2727) MR-279: SleepJob throws divide by zero exception when count = 0
Date Mon, 15 Aug 2011 18:01:36 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085223#comment-13085223
] 

Hudson commented on MAPREDUCE-2727:
-----------------------------------

Integrated in Hadoop-Common-trunk-Commit #742 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/742/])
    MAPREDUCE-2727. Fix divide-by-zero error in SleepJob for sleepCount equals 0. Contributed
by Jeffrey Naisbitt.

acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1157422
Files : 
* /hadoop/common/trunk/mapreduce/src/test/mapred/org/apache/hadoop/mapreduce/SleepJob.java
* /hadoop/common/trunk/mapreduce/CHANGES.txt


> 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-trunk.patch, 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

        

Mime
View raw message