hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r1076109 - in /hadoop/mapreduce/trunk: CHANGES.txt src/java/org/apache/hadoop/mapreduce/Job.java
Date Wed, 02 Mar 2011 05:38:35 GMT
Author: tomwhite
Date: Wed Mar  2 05:38:35 2011
New Revision: 1076109

URL: http://svn.apache.org/viewvc?rev=1076109&view=rev
Log:
MAPREDUCE-1811. Job.monitorAndPrintJob() should print status of the job at completion. Contributed
by Harsh J Chouraria.

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/java/org/apache/hadoop/mapreduce/Job.java

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=1076109&r1=1076108&r2=1076109&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Wed Mar  2 05:38:35 2011
@@ -43,6 +43,9 @@ Trunk (unreleased changes)
     MAPREDUCE-2225. MultipleOutputs should not require the use of 'Writable'.
     (Harsh J Chouraria via tomwhite)
 
+    MAPREDUCE-1811. Job.monitorAndPrintJob() should print status of the job
+    at completion. (Harsh J Chouraria via tomwhite)
+
   OPTIMIZATIONS
     
     MAPREDUCE-2026. Make JobTracker.getJobCounters() and

Modified: hadoop/mapreduce/trunk/src/java/org/apache/hadoop/mapreduce/Job.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/java/org/apache/hadoop/mapreduce/Job.java?rev=1076109&r1=1076108&r2=1076109&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/java/org/apache/hadoop/mapreduce/Job.java (original)
+++ hadoop/mapreduce/trunk/src/java/org/apache/hadoop/mapreduce/Job.java Wed Mar  2 05:38:35
2011
@@ -1105,11 +1105,12 @@ public class Job extends JobContextImpl 
       eventCounter += events.length;
       printTaskEvents(events, filter, profiling, mapRanges, reduceRanges);
     }
-    LOG.info("Job complete: " + jobId);
     Counters counters = getCounters();
     if (counters != null) {
       LOG.info(counters.toString());
     }
+    LOG.info("Job " + jobId + " completed with status: "
+          + getStatus().getState());
     return isSuccessful();
   }
 



Mime
View raw message