Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2727

MR-279: SleepJob throws divide by zero exception when count = 0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: mrv2
    • Labels:
      None

      Description

      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.

        Attachments

        1. MAPREDUCE-2727-trunk.patch
          2 kB
          Jeffrey Naisbitt
        2. MAPREDUCE-2727.patch
          3 kB
          Jeffrey Naisbitt

          Activity

            People

            • Assignee:
              naisbitt Jeffrey Naisbitt
              Reporter:
              naisbitt Jeffrey Naisbitt
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: