hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1130351 - in /hadoop/mapreduce/branches/MR-279: CHANGES.txt yarn/yarn-server/yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/resourcetracker/TestRMNMRPCResponseId.java
Date Wed, 01 Jun 2011 23:39:49 GMT
Author: mahadev
Date: Wed Jun  1 23:39:49 2011
New Revision: 1130351

URL: http://svn.apache.org/viewvc?rev=1130351&view=rev
Log:
Fix for NPE in TestRMNMRPCResponseId. (mahadev)

Modified:
    hadoop/mapreduce/branches/MR-279/CHANGES.txt
    hadoop/mapreduce/branches/MR-279/yarn/yarn-server/yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/resourcetracker/TestRMNMRPCResponseId.java

Modified: hadoop/mapreduce/branches/MR-279/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/CHANGES.txt?rev=1130351&r1=1130350&r2=1130351&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/CHANGES.txt (original)
+++ hadoop/mapreduce/branches/MR-279/CHANGES.txt Wed Jun  1 23:39:49 2011
@@ -2,10 +2,14 @@ Hadoop MapReduce Change Log
 
 Trunk (unreleased changes)
 
-    Fixes in the handling of KILL events in the SUCCEEDED state for tasks
-    in the application master (ddas)
 
     MAPREDUCE-279
+   
+    Fix for NPE in TestRMNMRPCResponseId. (mahadev)
+
+    Fixes in the handling of KILL events in the SUCCEEDED state for tasks
+    in the application master (ddas)
+    
     Fix build issue for using yarn.version instead of hadoop-mapred.version
     (mahadev and giri)
     

Modified: hadoop/mapreduce/branches/MR-279/yarn/yarn-server/yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/resourcetracker/TestRMNMRPCResponseId.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/yarn/yarn-server/yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/resourcetracker/TestRMNMRPCResponseId.java?rev=1130351&r1=1130350&r2=1130351&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/yarn/yarn-server/yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/resourcetracker/TestRMNMRPCResponseId.java
(original)
+++ hadoop/mapreduce/branches/MR-279/yarn/yarn-server/yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/resourcetracker/TestRMNMRPCResponseId.java
Wed Jun  1 23:39:49 2011
@@ -22,6 +22,7 @@ import java.io.IOException;
 import java.util.List;
 import java.util.Map;
 
+import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.yarn.api.records.Container;
 import org.apache.hadoop.yarn.api.records.NodeId;
 import org.apache.hadoop.yarn.api.records.Resource;
@@ -71,6 +72,7 @@ public class TestRMNMRPCResponseId exten
   public void setUp() {
     RMContext context = new ResourceManager.RMContextImpl(new MemStore());
     rmResourceTrackerImpl = new RMResourceTrackerImpl(containerTokenSecretManager, context);
+    rmResourceTrackerImpl.init(new Configuration());
     rmResourceTrackerImpl.addListener(listener);
   }
   



Mime
View raw message