You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jim Brennan (JIRA)" <ji...@apache.org> on 2018/08/09 15:00:00 UTC

[jira] [Created] (YARN-8640) Restore previous state in container-executor if write_exit_code_file_as_nm fails

Jim Brennan created YARN-8640:
---------------------------------

             Summary: Restore previous state in container-executor if write_exit_code_file_as_nm fails
                 Key: YARN-8640
                 URL: https://issues.apache.org/jira/browse/YARN-8640
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Jim Brennan
            Assignee: Jim Brennan


The container-executor function {{write_exit_code_file_as_nm}} had a number of failure conditions where it just returns -1 without restoring previous state.
This is not a problem in any of the places where it is currently called, but it could be a problem if future code changes call it before code that depends on the previous state.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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