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

streaming job with store clause stuck if the script fail

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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-1.patch
          3 kB
          Daniel Dai
        2. PIG-4976-2.patch
          4 kB
          Daniel Dai
        3. PIG-4976-3.patch
          5 kB
          Koji Noguchi
        4. PIG-4976-4.patch
          7 kB
          Nándor Kollár
        5. PIG-4976-5-knoguchi.patch
          8 kB
          Koji Noguchi

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment