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

Pig returns exit code 0 for the failed Pig script due to non-existing input directory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.1
    • Component/s: impl
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Test case:

      a = load 'nonexisting.file';
      b = filter a by $0 > 0;
      c = group b by $0;
      d = join c by $0, b by $0;
      store d into 'output';
      

      The script fails, but the return code is 0.

        Attachments

        1. PIG-1862_1.patch
          29 kB
          Richard Ding
        2. PIG-1862_1.patch
          39 kB
          Richard Ding
        3. PIG-1862.patch
          2 kB
          Richard Ding

          Activity

            People

            • Assignee:
              rding Richard Ding
              Reporter:
              rding Richard Ding
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: