Jian He commented on YARN-5611:

Thanks Rohith,
- AbstractLivenessMonitor#getMonitorStartTime not used 
- I think we could change AbstractLivelinessMonitor to remember the 
finalExpireTime instead of remembering the monitorStartTime and the 
This way, RMAppLifetimeMonitor does not need to register an app with zero 
startTime. And the monitoredApps map may be not needed, the running map in 
AbstractLivelinesMonitor may be enough

> 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

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