Pig
  1. Pig
  2. PIG-3673

Divide by zero error in runpigmix.pl script

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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;

      1. PIG-3673.patch
        0.6 kB
        Suhas Satish

        Issue Links

          Activity

          Hide
          Daniel Dai added a comment -

          Patch committed to trunk. Thanks Suhas!

          Show
          Daniel Dai added a comment - Patch committed to trunk. Thanks Suhas!

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development