Browse Source

MAPREDUCE-4017 merged to branch-1.0

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.0@1334889 13f79535-47bb-0310-9956-ffa450edef68
Matthew Foley 13 years ago
parent
commit
6b9e7566e7
2 changed files with 5 additions and 1 deletions
  1. 3 0
      CHANGES.txt
  2. 2 1
      src/mapred/org/apache/hadoop/mapred/JobInProgress.java

+ 3 - 0
CHANGES.txt

@@ -6,6 +6,9 @@ Release 1.0.3 - unreleased
 
   IMPROVEMENTS
 
+    MAPREDUCE-4017. Add jobname to jobsummary log (tgraves and Koji Noguchi
+    via bobby)
+
   BUG FIXES
 
     HADOOP-6924. Adds a directory to the list of directories to search for 

+ 2 - 1
src/mapred/org/apache/hadoop/mapred/JobInProgress.java

@@ -3507,7 +3507,8 @@ public class JobInProgress {
           .add("mapSlotSeconds", mapSlotSeconds)
           .add("reduceSlotsSeconds", reduceSlotSeconds)
           .add("clusterMapCapacity", cluster.getMaxMapTasks())
-          .add("clusterReduceCapacity", cluster.getMaxReduceTasks());
+          .add("clusterReduceCapacity", cluster.getMaxReduceTasks())
+          .add("jobName", profile.getJobName());
 
       LOG.info(summary);
     }