hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1130931 - in /hadoop/mapreduce/branches/MR-279: CHANGES.txt mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java
Date Fri, 03 Jun 2011 07:54:20 GMT
Author: mahadev
Date: Fri Jun  3 07:54:20 2011
New Revision: 1130931

URL: http://svn.apache.org/viewvc?rev=1130931&view=rev
Log:
Fix logging for showing the state of job (FAILED/KILLED/SUCCEEDED) when it completes (mahadev)

Modified:
    hadoop/mapreduce/branches/MR-279/CHANGES.txt
    hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java

Modified: hadoop/mapreduce/branches/MR-279/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/CHANGES.txt?rev=1130931&r1=1130930&r2=1130931&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/CHANGES.txt (original)
+++ hadoop/mapreduce/branches/MR-279/CHANGES.txt Fri Jun  3 07:54:20 2011
@@ -4,6 +4,8 @@ Trunk (unreleased changes)
 
 
     MAPREDUCE-279
+    
+    Fix logging for showing the state of job (FAILED/KILLED/SUCCEEDED) when it completes
(mahadev)
 
     MAPREDUCE-2537. The RM writes its log to yarn-mapred-resourcemanager-<RM_Host>.out
(Robert Evans via mahadev)
 

Modified: hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java?rev=1130931&r1=1130930&r2=1130931&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java
(original)
+++ hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Job.java
Fri Jun  3 07:54:20 2011
@@ -1132,7 +1132,7 @@ public class Job extends JobContextImpl 
       eventCounter += events.length;
       printTaskEvents(events, filter, profiling, mapRanges, reduceRanges);
     }
-    LOG.info("Job complete: " + jobId);
+    LOG.info("Job " + jobId + " completed with state: " + status.getState());
     Counters counters = getCounters();
     if (counters != null) {
       LOG.info(counters.toString());



Mime
View raw message