// Generate the list of actions per DNode
Map<String, List<DeployAction>> actionsPerDNode = generateDeployActionsPerDNode(deployRequests,
version);
// Starting the countdown latch.
ICountDownLatch countDownLatchForDeploy = context.getCoordinationStructures()
.getCountDownLatchForDeploy(version);
Set<String> dnodesInvolved = actionsPerDNode.keySet();
countDownLatchForDeploy.trySetCount(dnodesInvolved.size());
// Sending deploy signals to each DNode
for(Map.Entry<String, List<DeployAction>> actionPerDNode : actionsPerDNode.entrySet()) {
DNodeService.Client client = null;
boolean renew = false;