hadoop-common-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1077564&view=rev
Log:
commit 468ca72f2f025906cbf114f2ad62ea5e4361c5fb
Author: Devaraj Das <ddas@yahoo-inc.com>
Date:   Mon Jun 28 12:05:46 2010 -0700

    MAPREDUCE:1900 from https://issues.apache.org/jira/secure/attachment/12448230/mapred-fs-close.patch
    
    +++ b/YAHOO-CHANGES.txt
    +    MAPREDUCE-1900. Makes JobTracker/TaskTracker close filesystems, created
    +    on behalf of users, when they are no longer needed. (ddas)
    +

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

Modified: hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobInProgress.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobInProgress.java?rev=1077564&r1=1077563&r2=1077564&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobInProgress.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobInProgress.java
Fri Mar  4 04:29:35 2011
@@ -3092,7 +3092,7 @@ public class JobInProgress {
 
     //close the user's FS
     try {
-      fs.close();
+      FileSystem.closeAllForUGI(userUGI);
     } catch (IOException ie) {
       LOG.warn("Ignoring exception " + StringUtils.stringifyException(ie) + 
           " while closing FileSystem for " + userUGI);



Mime
View raw message