Browse Source

MAPREDUCE-4396. Port support private distributed cache to
LocalJobRunner from branch-1-win. (Yu Gao via eyang)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.0@1422151 13f79535-47bb-0310-9956-ffa450edef68

Eric Yang 12 years ago
parent
commit
d75ed15031
2 changed files with 5 additions and 0 deletions
  1. 3 0
      CHANGES.txt
  2. 2 0
      src/mapred/org/apache/hadoop/mapred/LocalJobRunner.java

+ 3 - 0
CHANGES.txt

@@ -8,6 +8,9 @@ Release 1.0.5 - unreleased
 
   BUG FIXES
 
+    MAPREDUCE-4396. Port support private distributed cache to
+    LocalJobRunner from branch-1-win. (Yu Gao via eyang)
+
     HADOOP-8418. Update UGI Principal classes name for running with
     IBM JDK on 64 bits Windows.  (Yu Gao via eyang)
 

+ 2 - 0
src/mapred/org/apache/hadoop/mapred/LocalJobRunner.java

@@ -122,6 +122,8 @@ class LocalJobRunner implements JobSubmissionProtocol {
         trackerDistributedCacheManager.newTaskDistributedCacheManager(
             jobid, conf);
       taskDistributedCacheManager.setupCache(conf, "archive", "archive");
+      // Localize private distributed cache
+      JobLocalizer.downloadPrivateCache(conf);
       
       if (DistributedCache.getSymlink(conf)) {
         // This is not supported largely because,