Explorar o código

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.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077724 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley %!s(int64=14) %!d(string=hai) anos
pai
achega
9634cecd6b

+ 1 - 2
src/contrib/capacity-scheduler/src/java/org/apache/hadoop/mapred/CapacitySchedulerConf.java

@@ -549,7 +549,6 @@ class CapacitySchedulerConf {
       int maxTasksToAssignAfterOffSwitch) {
     rmConf.setInt(
         "mapred.capacity-scheduler.maximum-tasks-after-offswitch", 
-        Integer.MAX_VALUE);
-
+        maxTasksToAssignAfterOffSwitch);
   }
 }