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/06 20:05:00 UTC

[jira] [Commented] (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 commented on YARN-7616:
---------------------------------

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