hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5611) Provide an API to update lifetime of an application.
Date Thu, 22 Sep 2016 06:47:20 GMT

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

Sunil G commented on YARN-5611:

Thanks [~rohithsharma], few high level comments.
	    long newLifetime = newAppTimeouts.getLifetime();
            if (newLifetime < 0) {
{{newLifetime}} can be 0. Is there any special meaning for timeout value of 0. i could not
find any special handling for that.
If there are no special handling, we could validate that out to avoid some extra code cycles.

2.  {{rmContext.getRMAppLifetimeMonitor().updateApplicationLifetime()}} needs to check whether
app was already registered earlier. 
3. I think we can publish this information to timeline also through appUpdated event .

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

View raw message