You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Rohith Sharma K S (JIRA)" <ji...@apache.org> on 2016/10/14 14:08:20 UTC

[jira] [Updated] (YARN-5611) Provide an API to update lifetime of an application.

     [ https://issues.apache.org/jira/browse/YARN-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rohith Sharma K S updated YARN-5611:
------------------------------------
    Attachment: 0002-YARN-5611.patch

Attached the patch. Brief about the patch are
# ApplicationClientProtocol is added with new method i.e updateApplicationTimeouts method.
# UpdateApplicationTimeoutsRequest takes appId and Map<ApplicationTimeoutType, Long> to update timeout values. And these timeout values are gets added to existing timeouts out. If application was not monitored, then this application start monitoring from now. 
# New API updateApplicationTimeouts added in RMAppLifetimeMonitor class. This is basically updates timeout for given ApplicationTimeoutTypes.
#   New field appIdToTimeoutTypeMapping is added in RMAppLifetimeMonitor. This is to track each appIdToApplicationTimeoutTypes mapping where can be used as cache.

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