Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10234

"hadoop.cmd jar" does not propagate exit code.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • scripts
    • None
    • Reviewed

    Description

      Running "hadoop.cmd jar" does not always propagate the exit code to the caller. In interactive use, it works fine. However, in some usages (notably Hive), it gets called through Shell#getRunScriptCommand, which needs to do an intermediate "cmd /c" to execute the script. In that case, the last exit code is getting dropped, so Hive can't detect job failures.

      Attachments

        1. HADOOP-10234.1.patch
          0.5 kB
          Chris Nauroth

        Activity

          People

            cnauroth Chris Nauroth
            cnauroth Chris Nauroth
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: