hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r751747 - /hadoop/core/trunk/src/contrib/chukwa/src/java/org/apache/hadoop/chukwa/datacollection/agent/ChukwaAgent.java
Date Mon, 09 Mar 2009 16:55:42 GMT
Author: eyang
Date: Mon Mar  9 16:55:42 2009
New Revision: 751747

URL: http://svn.apache.org/viewvc?rev=751747&view=rev
Log:
HADOOP-5397. Remove adaptor reference from adaptorPositions hashMap, when adaptor is removed
through AgentController.

Modified:
    hadoop/core/trunk/src/contrib/chukwa/src/java/org/apache/hadoop/chukwa/datacollection/agent/ChukwaAgent.java

Modified: hadoop/core/trunk/src/contrib/chukwa/src/java/org/apache/hadoop/chukwa/datacollection/agent/ChukwaAgent.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/chukwa/src/java/org/apache/hadoop/chukwa/datacollection/agent/ChukwaAgent.java?rev=751747&r1=751746&r2=751747&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/chukwa/src/java/org/apache/hadoop/chukwa/datacollection/agent/ChukwaAgent.java
(original)
+++ hadoop/core/trunk/src/contrib/chukwa/src/java/org/apache/hadoop/chukwa/datacollection/agent/ChukwaAgent.java
Mon Mar  9 16:55:42 2009
@@ -513,6 +513,8 @@
     if (toStop == null) {
       log.warn("trying to stop adaptor " + number + " that isn't running");
       return offset;
+    } else {
+      adaptorPositions.remove(toStop);
     }
     
     try {    	      



Mime
View raw message