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/10 14:17:00 UTC

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

     [ https://issues.apache.org/jira/browse/YARN-8640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Brennan updated YARN-8640:
------------------------------
    Attachment: YARN-8640.001.patch

> 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
>            Priority: Major
>         Attachments: YARN-8640.001.patch
>
>
> 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