You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/02/11 22:13:21 UTC
[jira] [Created] (MAPREDUCE-5752) Potential invalid iterator in
NMClientImpl#cleanupRunningContainers()
Ted Yu created MAPREDUCE-5752:
---------------------------------
Summary: Potential invalid iterator in NMClientImpl#cleanupRunningContainers()
Key: MAPREDUCE-5752
URL: https://issues.apache.org/jira/browse/MAPREDUCE-5752
Project: Hadoop Map/Reduce
Issue Type: Bug
Reporter: Ted Yu
Priority: Minor
In cleanupRunningContainers() :
{code}
for (StartedContainer startedContainer : startedContainers.values()) {
try {
stopContainer(startedContainer.getContainerId(),
startedContainer.getNodeId());
{code}
Removal of container is done in removeStartedContainer():
{code}
startedContainers.remove(container.containerId);
{code}
This may result in invalid iterator for the loop on startedContainers.values()
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)