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

          Suhas Satish created issue -
          Suhas Satish made changes -
          Field Original Value New Value
          Attachment PIG-3673.patch [ 12623558 ]
          Suhas Satish made changes -
          Hadoop Flags Reviewed [ 10343 ]
          Affects Version/s 0.11.1 [ 12324080 ]
          Affects Version/s 0.12.0 [ 12323380 ]
          Patch Info Patch Available [ 10042 ]
          Daniel Dai made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 0.13.0 [ 12324971 ]
          Resolution Fixed [ 1 ]
          Rohini Palaniswamy made changes -
          Link This issue breaks PIG-3895 [ PIG-3895 ]
          Daniel Dai made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development