hadoop-common-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1076953&view=rev
Log:
commit 2813ea0952e1be356a27e3223383517550b63907
Author: Lee Tucker <ltucker@yahoo-inc.com>
Date:   Thu Jul 30 17:40:41 2009 -0700

    Applying patch 2870367.mr708.patch

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

Modified: hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobTracker.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobTracker.java?rev=1076953&r1=1076952&r2=1076953&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobTracker.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobTracker.java
Fri Mar  4 03:25:31 2011
@@ -612,14 +612,9 @@ public class JobTracker implements MRCon
       FaultInfo fi = getFaultInfo(hostName, true);
       boolean blackListed = fi.isBlacklisted();
       if(blackListed) {
-        if(fi.getReasonforblacklisting().contains(rfb)) {
-          return;
-        } else {
-          LOG.info("Adding blacklisted reason for tracker : " + hostName 
-              + " Reason for blacklisting is : " + rfb);
-          fi.addBlackListedReason(rfb, reason);
-        }
-        return;
+        LOG.info("Adding blacklisted reason for tracker : " + hostName 
+            + " Reason for blacklisting is : " + rfb);
+        fi.addBlackListedReason(rfb, reason);
       } else {
         LOG.info("Blacklisting tracker : " + hostName 
             + " Reason for blacklisting is : " + rfb);



Mime
View raw message