Benjamin Teke created YARN-11708:
------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]