LOG.info("================================================================");
Map<ExecutionBlockId, List<Container>> allocated = new HashMap<ExecutionBlockId, List<Container>>();
for (Container container : allocatedContainers) {
ExecutionBlockId executionBlockId = subQueryMap.get(container.getPriority());
SubQueryState state = context.getSubQuery(executionBlockId).getState();
if (!(SubQuery.isRunningState(state))) {
releaseAssignedContainer(container.getId());
} else {
if (allocated.containsKey(executionBlockId)) {
allocated.get(executionBlockId).add(container);