hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miklos Szegedi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7239) Possible launch/cleanup race condition in ContainersLauncher
Date Thu, 21 Sep 2017 19:37:00 GMT
Miklos Szegedi created YARN-7239:

             Summary: Possible launch/cleanup race condition in ContainersLauncher
                 Key: YARN-7239
                 URL: https://issues.apache.org/jira/browse/YARN-7239
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Miklos Szegedi

ContainersLauncher.handle() submits the launch job and then adds the job into the collection
risking that the cleanup will miss it and return. This should be in reversed order in all
3 instances:
        running.put(containerId, launch);
The cleanup code the above code is racing with:
        ContainerLaunch runningContainer = running.get(containerId);
        if (runningContainer == null) {
          // Container not launched. So nothing needs to be done.
          LOG.info("Container " + containerId + " not running, nothing to signal.");

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org

View raw message