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

incorrect return codes on failure when using -f or -e flags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3.0
    • None
    • None
    • Reviewed

    Description

      To repro: pig -e "a = load '<some file>' ; b = stream a through \`false\` ; store b into '<some file>';"

      Both the -e and -f flags do not return the right code upon exit. Running the script w/o using -f works fine.

      Attachments

        1. fix_return_code.patch
          3 kB
          Gunther Hagleitner

        Activity

          People

            hagleitn Gunther Hagleitner
            hagleitn Gunther Hagleitner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: