瀏覽代碼

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 年之前
父節點
當前提交
7d00b77aa8
共有 2 個文件被更改,包括 4 次插入1 次删除
  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.
     setIn/OutputFormatClass so that it works with SequenceIn/OutputFormat.
     (cdouglas via omalley)
     (cdouglas via omalley)
 
 
+    HADOOP-4818. Pass user config to instrumentation API. (Eric Yang via
+    cdouglas)
+
 Release 0.19.1 - Unreleased
 Release 0.19.1 - Unreleased
 
 
   IMPROVEMENTS
   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();
     return job.getStatus();
   }
   }