Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-421

mapred pipes might return exit code 0 even when failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.20.1
    • pipes
    • None
    • Reviewed

    Description

      up to hadoop 0.18.3 org.apache.hadoop.mapred.JobShell ensured that 'hadoop jar' returns non-zero exit code when the job fails.
      This is no longer true after moving this to org.apache.hadoop.util.RunJar.

      Pipes jobs submitted through cli never returned proper exit code.

      The main methods in org.apache.hadoop.util.RunJar. and org.apache.hadoop.mapred.pipes.Submitter should be modified to return an exit code similar to how org.apache.hadoop.mapred.JobShell did it.

      Attachments

        1. MAPREDUCE-421.patch
          0.5 kB
          Christian Kunz

        Issue Links

          Activity

            People

              ckunz Christian Kunz
              ckunz Christian Kunz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: