[
https://issues.apache.org/jira/browse/YARN-8488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16576877#comment-16576877
]
Suma Shivaprasad commented on YARN-8488:
----------------------------------------
Attached patch which adds states SUCCEEDED to ServiceState, SUCCEEDED/FAILED to
ComponentState.
Earlier ComponentInstance State was marked as STOPPED for all available restart
policies. Now it is SUCCEEDED/FAILED depending on the exit status. One pending
issue is when there is a graceful stop sent via Client RPC, component instance
STATE is not marked as STOPPED. Will fix this in subsequent patch.
For restartPolicy=ON_FAILURE/NEVER, when all component instances terminate,
component = SUCCEEDED if all component instances succeed else marked as FAILED.
> Need to add "SUCCEED" state to YARN service
> -------------------------------------------
>
> Key: YARN-8488
> URL: https://issues.apache.org/jira/browse/YARN-8488
> Project: Hadoop YARN
> Issue Type: Task
> Components: yarn-native-services
> Reporter: Wangda Tan
> Assignee: Suma Shivaprasad
> Priority: Major
> Attachments: YARN-8488.1.patch, YARN-8488.2.patch
>
>
> Existing YARN service has following states:
> {code}
> public enum ServiceState {
> ACCEPTED, STARTED, STABLE, STOPPED, FAILED, FLEX, UPGRADING,
> UPGRADING_AUTO_FINALIZE;
> }
> {code}
> Ideally we should add "SUCCEEDED" state in order to support long running
> applications like Tensorflow.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]