[ 
https://issues.apache.org/jira/browse/YUNIKORN-1440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17642200#comment-17642200
 ] 

Wilfred Spiegelenburg commented on YUNIKORN-1440:
-------------------------------------------------

All completed applications should move to expired via a timer that gets 
executed. As an example we have the completed to expire [step 
here|https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/objects/application_state.go#L196].

We consider the following state terminal and cleanup by moving them to 
[expired|https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/objects/application_state.go#L119]:
 * completed
 * failed
 * rejected

Is that not working as it is supposed to? 

> Completed applications are indefinitely retained in-memory
> ----------------------------------------------------------
>
>                 Key: YUNIKORN-1440
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1440
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: core - scheduler
>    Affects Versions: 1.1.0
>            Reporter: Brandon Grams
>            Assignee: Brandon Grams
>            Priority: Major
>              Labels: pull-request-available
>
> Terminated applications are not considered in the [expired apps cleanup 
> procedure|https://github.com/apache/yunikorn-core/blob/c61511fe84a1ae211046aa58f156ac2185892e8f/pkg/scheduler/partition.go#L1425],
>  leading to indefinite retention of application objects and eventual memory 
> pressure in the scheduler.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to