Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3673

Divide by zero error in runpigmix.pl script

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0, 0.11.1
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Hadoop Flags:
      Reviewed

      Description

      runpigmix.pl script has the following line which does not check against divide by zero. This could fail the launch script unexpectedly.

      my $multiplier = $pig_times/$mr_times;

        Attachments

        1. PIG-3673.patch
          0.6 kB
          Suhas Satish

          Issue Links

            Activity

              People

              • Assignee:
                suhassatish Suhas Satish
                Reporter:
                suhassatish Suhas Satish
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: