Browse Source

HADOOP-4818. Pass user config to instrumentation API. Contributed by Eric Yang

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.20@735217 13f79535-47bb-0310-9956-ffa450edef68
Christopher Douglas 16 năm trước cách đây
mục cha
commit
7d00b77aa8
2 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 3 0
      CHANGES.txt
  2. 1 1
      src/mapred/org/apache/hadoop/mapred/JobTracker.java

+ 3 - 0
CHANGES.txt

@@ -546,6 +546,9 @@ Release 0.20.0 - Unreleased
     setIn/OutputFormatClass so that it works with SequenceIn/OutputFormat.
     (cdouglas via omalley)
 
+    HADOOP-4818. Pass user config to instrumentation API. (Eric Yang via
+    cdouglas)
+
 Release 0.19.1 - Unreleased
 
   IMPROVEMENTS

+ 1 - 1
src/mapred/org/apache/hadoop/mapred/JobTracker.java

@@ -2675,7 +2675,7 @@ public class JobTracker implements MRConstants, InterTrackerProtocol,
         }
       }
     }
-    myInstrumentation.submitJob(this.conf, jobId);
+    myInstrumentation.submitJob(job.getJobConf(), jobId);
     return job.getStatus();
   }