hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vino...@apache.org
Subject svn commit: r1153448 - in /hadoop/common/branches/MR-279/mapreduce/yarn: yarn-common/src/main/java/org/apache/hadoop/yarn/event/ yarn-server/yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmcontainer/
Date Wed, 03 Aug 2011 11:48:59 GMT
Author: vinodkv
Date: Wed Aug  3 11:48:58 2011
New Revision: 1153448

URL: http://svn.apache.org/viewvc?rev=1153448&view=rev
Log:
Missing transitions from RELEASED state.

Modified:
    hadoop/common/branches/MR-279/mapreduce/yarn/yarn-common/src/main/java/org/apache/hadoop/yarn/event/AsyncDispatcher.java
    hadoop/common/branches/MR-279/mapreduce/yarn/yarn-server/yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmcontainer/RMContainerImpl.java

Modified: hadoop/common/branches/MR-279/mapreduce/yarn/yarn-common/src/main/java/org/apache/hadoop/yarn/event/AsyncDispatcher.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/MR-279/mapreduce/yarn/yarn-common/src/main/java/org/apache/hadoop/yarn/event/AsyncDispatcher.java?rev=1153448&r1=1153447&r2=1153448&view=diff
==============================================================================
--- hadoop/common/branches/MR-279/mapreduce/yarn/yarn-common/src/main/java/org/apache/hadoop/yarn/event/AsyncDispatcher.java
(original)
+++ hadoop/common/branches/MR-279/mapreduce/yarn/yarn-common/src/main/java/org/apache/hadoop/yarn/event/AsyncDispatcher.java
Wed Aug  3 11:48:58 2011
@@ -103,7 +103,7 @@ public class AsyncDispatcher extends Abs
   @SuppressWarnings("unchecked")
   protected void dispatch(Event event) {
     //all events go thru this loop
-    LOG.info("Dispatching the event " + event.getClass().getName() + "."
+    LOG.debug("Dispatching the event " + event.getClass().getName() + "."
         + event.toString());
 
     Class<? extends Enum> type = event.getType().getDeclaringClass();

Modified: hadoop/common/branches/MR-279/mapreduce/yarn/yarn-server/yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmcontainer/RMContainerImpl.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/MR-279/mapreduce/yarn/yarn-server/yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmcontainer/RMContainerImpl.java?rev=1153448&r1=1153447&r2=1153448&view=diff
==============================================================================
--- hadoop/common/branches/MR-279/mapreduce/yarn/yarn-server/yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmcontainer/RMContainerImpl.java
(original)
+++ hadoop/common/branches/MR-279/mapreduce/yarn/yarn-server/yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/rmcontainer/RMContainerImpl.java
Wed Aug  3 11:48:58 2011
@@ -71,6 +71,10 @@ public class RMContainerImpl implements 
     .addTransition(RMContainerState.EXPIRED, RMContainerState.EXPIRED,
         EnumSet.of(RMContainerEventType.RELEASED, RMContainerEventType.KILL))
 
+    // Transitions from RELEASED state
+    .addTransition(RMContainerState.RELEASED, RMContainerState.RELEASED,
+        EnumSet.of(RMContainerEventType.RELEASED, RMContainerEventType.KILL))
+
     // Transitions from KILLED state
     .addTransition(RMContainerState.KILLED, RMContainerState.KILLED,
         EnumSet.of(RMContainerEventType.RELEASED, RMContainerEventType.KILL))



Mime
View raw message