Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.