.keySet()) {
if (containerRequest.getCapability().getMemory() == allocatedContainer.getResource()
.getMemory()) {
SettableFuture<ContainerAskResponse> future =
_genericApplicationMaster.containerRequestMap.remove(containerRequest);
ContainerAskResponse response = new ContainerAskResponse();
response.setContainer(allocatedContainer);
_genericApplicationMaster.allocatedContainerSet.add(allocatedContainer.getId());
future.set(response);
break;
}
}