[ 
https://issues.apache.org/jira/browse/YARN-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15596258#comment-15596258
 ] 

Sunil G commented on YARN-5611:
-------------------------------

Thanks folks for the summary and approach looks fine. Couple of quick questions:

1. update Response from RM should be currentExpiryTime and updatedExpiryTime. 
Here, user can validate from and to time.
>> If currentExpiryTime and updatedExpiryTime is less than current time from 
>> RM, I suppose we will fail this request. Correct?

2. In update response from and to value has been sent by RM for user reference.
>> From {{targetedExpireTime(=Now + relative value)}}, I think api will return 
>> *from* as {{Now or Current Time}} and *to* as {{targetedExpireTime}}. UTC 
>> conversion was done in YarnClient/RM  to keep a standard, but client is 
>> unaware of same. I think this timestamps could be given in client's 
>> timezone. It may be more easier.



> Provide an API to update lifetime of an application.
> ----------------------------------------------------
>
>                 Key: YARN-5611
>                 URL: https://issues.apache.org/jira/browse/YARN-5611
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Rohith Sharma K S
>            Assignee: Rohith Sharma K S
>         Attachments: 0001-YARN-5611.patch, 0002-YARN-5611.patch, 
> 0003-YARN-5611.patch, YARN-5611.v0.patch
>
>
> YARN-4205 monitors an Lifetime of an applications is monitored if required. 
> Add an client api to update lifetime of an application. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to