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

streaming job with store clause stuck if the script fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.17.0
    • impl
    • None

    Description

      When investigating PIG-4972, I also notice Pig job stuck when the perl script have syntax error. This happens if we have output clause in stream specification (means use a file as staging). The bug exist in both Tez and MR, and it is not a regression.

      Here is an example:

      define CMD `perl kk.pl` output('foo') ship('kk.pl');
      
      A = load 'studenttab10k' as (name, age, gpa);
      B = foreach A generate name;
      C = stream B through CMD;
      store C into 'ooo';
      

      kk.pl is any perl script contain a syntax error.

      Attachments

        1. PIG-4976-5-knoguchi.patch
          8 kB
          Koji Noguchi
        2. PIG-4976-4.patch
          7 kB
          Nándor Kollár
        3. PIG-4976-3.patch
          5 kB
          Koji Noguchi
        4. PIG-4976-2.patch
          4 kB
          Daniel Dai
        5. PIG-4976-1.patch
          3 kB
          Daniel Dai

        Activity

          People

            daijy Daniel Dai
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: