commit | 7e2a9c8def2cdc581031189bf2017c1207badc48 | [log] [tgz] |
---|---|---|
author | vinayakb <vinayakb@123451ca-8445-de46-9d55-352943316053> | Wed Sep 28 01:34:17 2011 +0000 |
committer | vinayakb <vinayakb@123451ca-8445-de46-9d55-352943316053> | Wed Sep 28 01:34:17 2011 +0000 |
tree | ad176ba0609486abde83baf37747407090416382 | |
parent | 769cf65be04bcc128c8da47a03dd7cb8524b4ec1 [diff] |
Fixed bug in cleanup code git-svn-id: https://hyracks.googlecode.com/svn/trunk@580 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks/hyracks-control-cc/src/main/java/edu/uci/ics/hyracks/control/cc/job/manager/events/StageletFailureEvent.java b/hyracks/hyracks-control-cc/src/main/java/edu/uci/ics/hyracks/control/cc/job/manager/events/StageletFailureEvent.java index 8742ff3..9c9d569 100644 --- a/hyracks/hyracks-control-cc/src/main/java/edu/uci/ics/hyracks/control/cc/job/manager/events/StageletFailureEvent.java +++ b/hyracks/hyracks-control-cc/src/main/java/edu/uci/ics/hyracks/control/cc/job/manager/events/StageletFailureEvent.java
@@ -14,7 +14,6 @@ */ package edu.uci.ics.hyracks.control.cc.job.manager.events; -import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; @@ -44,7 +43,7 @@ List<JobAttempt> attempts = run.getAttempts(); JobAttempt ja = attempts.get(attempt); final Set<String> targetNodes = new HashSet<String>(ja.getParticipatingNodeIds()); - Map<String, NodeControllerState> nodeMap = new HashMap<String, NodeControllerState>(); + Map<String, NodeControllerState> nodeMap = ccs.getNodeMap(); for (String nodeId : targetNodes) { NodeControllerState ncState = nodeMap.get(nodeId); if (ncState != null) {