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

Divide by zero error in runpigmix.pl script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.0, 0.11.1
    • 0.13.0
    • None
    • None
    • Patch Available
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: