[
https://issues.apache.org/jira/browse/YARN-8640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16584338#comment-16584338
]
Jason Lowe commented on YARN-8640:
----------------------------------
Thanks for updating the patches! +1 for the branch-2.8 and branch-2.7 patches.
Committing this.
> Restore previous state in container-executor after failure
> ----------------------------------------------------------
>
> 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
> Fix For: 2.10.0, 3.2.0, 2.9.2, 3.0.4, 3.1.2
>
> Attachments: YARN-8640-branch-2.7.001.patch,
> YARN-8640-branch-2.7.002.patch, YARN-8640-branch-2.8.001.patch,
> YARN-8640-branch-2.8.002.patch, 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: [email protected]
For additional commands, e-mail: [email protected]