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 "Gour Saha (JIRA)" <ji...@apache.org> on 2017/12/07 09:08:00 UTC
[jira] [Comment Edited] (YARN-7616) App status does not return
state STABLE for a running and stable service
[ https://issues.apache.org/jira/browse/YARN-7616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16280814#comment-16280814 ]
Gour Saha edited comment on YARN-7616 at 12/7/17 9:07 AM:
----------------------------------------------------------
Currently the code uses FinalApplicationStatus to set the service level state -
{code}
appSpec.setState(convertState(appReport.getFinalApplicationStatus()));
{code}
In a running app's json status reponse, state currently returns null. I think we need to use YarnApplicationState and enrich service attributes based on component/container info.
What do you think [~billie.rinaldi], [~jianhe] ?
was (Author: gsaha):
Currently the code uses FinalApplicationStatus to set the service level state -
{code}
appSpec.setState(convertState(appReport.getFinalApplicationStatus()));
{code}
In a running app's json status reponse, state currently returns null. I think we need to use YarnApplicationState instead.
What do you think [~billie.rinaldi], [~jianhe] ?
> App status does not return state STABLE for a running and stable service
> ------------------------------------------------------------------------
>
> Key: YARN-7616
> URL: https://issues.apache.org/jira/browse/YARN-7616
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Gour Saha
> Assignee: Gour Saha
> Fix For: yarn-native-services
>
>
> state currently returns null for a running and stable service. Looks like the code does not return ServiceState.STABLE under any circumstance. Will need to wire this in.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org