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

mapred pipes might return exit code 0 even when failing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.1
    • Component/s: pipes
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: