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

Rohith Sharma K S commented on YARN-5611:
-----------------------------------------

We (me [~jianhe] and [~vinodkv]) had offline discussion regarding this. Here 
are the consensus taken. 
RM Server :
# RM accept always targetedExpireTime in UTC. 
# RM should take care of transactional update to state store and time 
conversion to local time zone to monitor application.

Protocol changes.
# update API(YarnClient->RM ) should be an Idempotent. 
# update Response from RM should be currentExpiryTime and updatedExpiryTime. 
Here, user can validate from and to time. 

YarnClient : 
# Takes the relative input from user i.e from-Now.
# yarn client convert user relative value to targetedExpireTime(=Now + relative 
value) into UTC format and send a request to RM.
# In update response from and to value has been sent by RM for user reference.

To the user, 
# Input is always relative from-Now. Let say, current time is 10 AM, and 
application expiry time is 11 AM. If user wants to update expire time to 10.30 
AM then User need to input 30 minutes. 

@Jian and @Vinod, please add more if I have missed any points. 

> 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: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to