Преглед изворни кода

commit 499ce04f1d8c14bab32bf8660b3a5f471c31a925
Author: Arun C Murthy <acmurthy@apache.org>
Date: Fri Sep 24 16:45:52 2010 -0700

MAPREDUCE-1943. Fixed JobControl.Job to carry the failure information for jobs.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077726 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley пре 14 година
родитељ
комит
ef9fe85555
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/mapred/org/apache/hadoop/mapred/jobcontrol/Job.java

+ 1 - 1
src/mapred/org/apache/hadoop/mapred/jobcontrol/Job.java

@@ -286,7 +286,7 @@ public class Job {
           this.state = Job.SUCCESS;
         } else {
           this.state = Job.FAILED;
-          this.message = "Job failed!";
+          this.message = "Job failed! Error - " + running.getFailureInfo();
           try {
             running.killJob();
           } catch (IOException e1) {