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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.1
    • impl
    • None
    • 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.patch
          2 kB
          Richard Ding
        2. PIG-1862_1.patch
          39 kB
          Richard Ding
        3. PIG-1862_1.patch
          29 kB
          Richard Ding

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: