hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077173 - /hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobClient.java
Date Fri, 04 Mar 2011 03:48:30 GMT
Author: omalley
Date: Fri Mar  4 03:48:29 2011
New Revision: 1077173

URL: http://svn.apache.org/viewvc?rev=1077173&view=rev
Log:
commit 5153057c0f4d5431d73b72f7818ec89d83999de3
Author: Devaraj Das <ddas@yahoo-inc.com>
Date:   Tue Feb 16 20:26:25 2010 -0800

    MAPREDUCE:181 from https://issues.apache.org/jira/secure/attachment/12436083/jobclient.patch
    
    +++ b/YAHOO-CHANGES.txt
    +    MAPREDUCE-181. Fixes an issue in the use of the right config. (ddas)
    +
    +    MAPREDUCE-1026. Fixes a bug in the backport. (ddas)

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

Modified: hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobClient.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobClient.java?rev=1077173&r1=1077172&r2=1077173&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobClient.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobClient.java
Fri Mar  4 03:48:29 2011
@@ -743,6 +743,8 @@ public class JobClient extends Configure
       Path submitJobFile = JobSubmissionFiles.getJobConfPath(submitJobDir);
       int reduces = job.getNumReduceTasks();
       JobContext context = new JobContext(job, jobId);
+      
+      job = (JobConf)context.getConfiguration();
 
       // Check the output specification
       if (reduces == 0 ? job.getUseNewMapper() : job.getUseNewReducer()) {



Mime
View raw message