[
https://issues.apache.org/jira/browse/YARN-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jian He updated YARN-5740:
--------------------------
Attachment: YARN-5740-yarn-native-services.01.patch
This patch address both rest API and slider CLI to get the lifetime
> Add a new field in Slider status output - lifetime (remaining)
> --------------------------------------------------------------
>
> Key: YARN-5740
> URL: https://issues.apache.org/jira/browse/YARN-5740
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Gour Saha
> Fix For: yarn-native-services
>
> Attachments: YARN-5740-yarn-native-services.01.patch
>
>
> With YARN-5735, REST service is now setting lifetime to application during
> submission (YARN-4205 exposed application lifetime support). Now Slider
> status needs to expose this field so that the REST service can return it in
> its GET response. Note, the lifetime value that GET response intends to
> return is the remaining lifetime of the application.
> There is an ongoing discussion in YARN-4206, that the lifetime value returned
> in Application Report will be the remaining lifetime (at the time of
> request). So until it is finalized, the lifetime value might go through
> different connotations. But as long as we have the lifetime field in the
> status output, it will be a good start.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]