hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1077724 - /hadoop/common/branches/branch-0.20-security-patches/src/contrib/capacity-scheduler/src/java/org/apache/hadoop/mapred/CapacitySchedulerConf.java
Date Fri, 04 Mar 2011 04:48:26 GMT
Author: omalley
Date: Fri Mar  4 04:48:26 2011
New Revision: 1077724

URL: http://svn.apache.org/viewvc?rev=1077724&view=rev
Log:
commit 1e25f64d6f1873e43e12aa53bb5186012c4d1069
Author: Arun C Murthy <acmurthy@apache.org>
Date:   Tue Sep 21 14:39:02 2010 -0700

    Fixed CapacitySchedulerConf.setMaxTasksToAssignAfterOffSwitch to set the variable correctly.

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/contrib/capacity-scheduler/src/java/org/apache/hadoop/mapred/CapacitySchedulerConf.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/contrib/capacity-scheduler/src/java/org/apache/hadoop/mapred/CapacitySchedulerConf.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/contrib/capacity-scheduler/src/java/org/apache/hadoop/mapred/CapacitySchedulerConf.java?rev=1077724&r1=1077723&r2=1077724&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/contrib/capacity-scheduler/src/java/org/apache/hadoop/mapred/CapacitySchedulerConf.java
(original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/contrib/capacity-scheduler/src/java/org/apache/hadoop/mapred/CapacitySchedulerConf.java
Fri Mar  4 04:48:26 2011
@@ -549,7 +549,6 @@ class CapacitySchedulerConf {
       int maxTasksToAssignAfterOffSwitch) {
     rmConf.setInt(
         "mapred.capacity-scheduler.maximum-tasks-after-offswitch", 
-        Integer.MAX_VALUE);
-
+        maxTasksToAssignAfterOffSwitch);
   }
 }



Mime
View raw message