You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Benjamin Teke (Jira)" <ji...@apache.org> on 2024/10/03 13:57:00 UTC

[jira] [Resolved] (YARN-11708) Setting maximum-application-lifetime using AQCv2 templates doesn't apply on the first submitted app

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

Benjamin Teke resolved YARN-11708.
----------------------------------
    Fix Version/s: 3.5.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

> Setting maximum-application-lifetime using AQCv2 templates doesn't  apply on the first submitted app
> ----------------------------------------------------------------------------------------------------
>
>                 Key: YARN-11708
>                 URL: https://issues.apache.org/jira/browse/YARN-11708
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Benjamin Teke
>            Assignee: Susheel Gupta
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.0
>
>
> Setting the _maximum-application-lifetime_ property using AQC v2 templates (_yarn.scheduler.capacity.root.test.auto-queue-creation-v2.template.maximum-application-lifetime_) doesn't apply to the first submitted application (through which the queue is created), only to the subsequent ones. It should apply to the first application as well.
> Repro steps:
> Create the queue root.test, enable AQCv2 on it.
> Provide the following template properties:
> yarn.scheduler.capacity.root.test.auto-queue-creation-v2.template.maximum-application-lifetime=8
> yarn.scheduler.capacity.root.test.auto-queue-creation-v2.template.default-application-lifetime=8
> The first submitted application, which triggers the queue creation will have unlimited lifetime:
> {code:java}
> TimeoutType : LIFETIME	 
> ExpiryTime : UNLIMITED	
> RemainingTime : -1seconds
> Final-State : SUCCEEDED
> {code}
> The subsequent applications will be killed  after the lifetime expires:
> {code:java}
> TimeoutType : LIFETIME	
> ExpiryTime : 2024-07-23T15:02:41.386+0000	
> RemainingTime : 0seconds
> Final-State : KILLED
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org