hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1136705 - in /hadoop/common/branches/MR-279/mapreduce: CHANGES.txt mr-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerRequestor.java
Date Thu, 16 Jun 2011 22:07:07 GMT
Author: mahadev
Date: Thu Jun 16 22:07:07 2011
New Revision: 1136705

URL: http://svn.apache.org/viewvc?rev=1136705&view=rev
Log:
Improve logging for AM when requesting containers to show the right ask and release fields
(mahadev)

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

Modified: hadoop/common/branches/MR-279/mapreduce/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/MR-279/mapreduce/CHANGES.txt?rev=1136705&r1=1136704&r2=1136705&view=diff
==============================================================================
--- hadoop/common/branches/MR-279/mapreduce/CHANGES.txt (original)
+++ hadoop/common/branches/MR-279/mapreduce/CHANGES.txt Thu Jun 16 22:07:07 2011
@@ -4,6 +4,8 @@ Trunk (unreleased changes)
 
 
     MAPREDUCE-279
+    Improve logging for AM when requesting containers to show the right ask 
+    and release fields (mahadev)
 
     Fix NPE when requesting attempts for completed jobs. (Siddharth Seth via llu)
 

Modified: hadoop/common/branches/MR-279/mapreduce/mr-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerRequestor.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/MR-279/mapreduce/mr-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerRequestor.java?rev=1136705&r1=1136704&r2=1136705&view=diff
==============================================================================
--- hadoop/common/branches/MR-279/mapreduce/mr-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerRequestor.java
(original)
+++ hadoop/common/branches/MR-279/mapreduce/mr-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/rm/RMContainerRequestor.java
Thu Jun 16 22:07:07 2011
@@ -128,13 +128,14 @@ public abstract class RMContainerRequest
     lastResponseID = response.getResponseId();
     List<Container> allContainers = response.getContainerList();
     availableResources = response.getAvailableResources();
-    ask.clear();
-    release.clear();
 
     LOG.info("getResources() for " + applicationId + ":" + " ask="
         + ask.size() + " release= " + release.size() + " recieved="
         + allContainers.size()
         + " resourcelimit=" + availableResources);
+
+    ask.clear();
+    release.clear();
     return allContainers;
   }
 



Mime
View raw message