hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r1125195 - in /hadoop/mapreduce/branches/MR-279: CHANGES.txt mr-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerAllocator.java
Date Fri, 20 May 2011 00:53:53 GMT
Author: ddas
Date: Fri May 20 00:53:53 2011
New Revision: 1125195

URL: http://svn.apache.org/viewvc?rev=1125195&view=rev
Log:
Fix for the reduces getting ahead of maps in the scheduling. Contributed by Devaraj Das and
Mahadev Konar.

Modified:
    hadoop/mapreduce/branches/MR-279/CHANGES.txt
    hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerAllocator.java

Modified: hadoop/mapreduce/branches/MR-279/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/CHANGES.txt?rev=1125195&r1=1125194&r2=1125195&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/CHANGES.txt (original)
+++ hadoop/mapreduce/branches/MR-279/CHANGES.txt Fri May 20 00:53:53 2011
@@ -4,6 +4,8 @@ Trunk (unreleased changes)
 
   MAPREDUCE-279
 
+    Fix for the reduces getting ahead of maps in the scheduling (ddas)    
+
     Distributed cache bug fix to pass Terasort. (vinodkv)
 
     Add junit jar to lib in assembly (mahadev and luke)

Modified: hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerAllocator.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerAllocator.java?rev=1125195&r1=1125194&r2=1125195&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerAllocator.java
(original)
+++ hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerAllocator.java
Fri May 20 00:53:53 2011
@@ -74,7 +74,7 @@ public class RMContainerAllocator extend
 
   private final Map<Priority,
   Map<Resource,LinkedList<ContainerRequestEvent>>> localRequestsQueue =
-      new HashMap<Priority, Map<Resource,LinkedList<ContainerRequestEvent>>>();
+      new TreeMap<Priority, Map<Resource,LinkedList<ContainerRequestEvent>>>();
 
   //Key -> Priority
   //Value -> Map



Mime
View raw message