hadoop-common-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1077697&view=rev
Log:
commit 54fbb85a263870f76c6d1b3423038bc03795d2c6
Author: Devaraj Das <ddas@yahoo-inc.com>
Date:   Sat Sep 18 14:10:47 2010 -0700

    Fixed a null pointer issue in purgeJob

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

Modified: hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/TaskTracker.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/TaskTracker.java?rev=1077697&r1=1077696&r2=1077697&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/TaskTracker.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/TaskTracker.java
Fri Mar  4 04:45:36 2011
@@ -1723,7 +1723,7 @@ public class TaskTracker implements MRCo
         // Delete the job directory for this  
         // task if the job is done/failed
         if (!rjob.keepJobFiles) {
-          removeJobFiles(rjob.jobConf.getUser(), rjob.getJobID());
+          removeJobFiles(rjob.ugi.getShortUserName(), rjob.getJobID());
         }
         // add job to user log manager
         long now = System.currentTimeMillis();



Mime
View raw message