hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077701 - /hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobLocalizer.java
Date Fri, 04 Mar 2011 04:46:02 GMT
Author: omalley
Date: Fri Mar  4 04:46:02 2011
New Revision: 1077701

URL: http://svn.apache.org/viewvc?rev=1077701&view=rev
Log:
commit 17f223051de7ff07a15a81b2b310596a688f5e97
Author: Devaraj Das <ddas@yahoo-inc.com>
Date:   Sat Sep 18 18:32:21 2010 -0700

    Removed duplicated call to downloadPrivateCache

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobLocalizer.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobLocalizer.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobLocalizer.java?rev=1077701&r1=1077700&r2=1077701&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobLocalizer.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobLocalizer.java
Fri Mar  4 04:46:02 2011
@@ -370,9 +370,7 @@ public class JobLocalizer {
     // Download the job.jar for this job from the system FS
     localizeJobJarFile(jConf);
 
-    //setup the distributed cache
     jConf.set(JOB_LOCAL_CTXT, ttConf.get(JOB_LOCAL_CTXT));
-    downloadPrivateCache(jConf);
 
     //update the config some more
     jConf.set(TokenCache.JOB_TOKENS_FILENAME, localJobTokenFile.toString());
@@ -380,6 +378,7 @@ public class JobLocalizer {
         ttConf.get(JobConf.MAPRED_LOCAL_DIR_PROPERTY));
     TaskTracker.resetNumTasksPerJvm(jConf);
 
+    //setup the distributed cache
     long[] sizes = downloadPrivateCache(jConf);
     if (sizes != null) {
       taskTracker.updatePrivateDistributedCacheSizes(jobid, sizes);



Mime
View raw message