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

Dongjoon Hyun reassigned SPARK-37049:
-------------------------------------

    Assignee:     (was: wwei)

> executorIdleTimeout is not working for pending pods on K8s
> ----------------------------------------------------------
>
>                 Key: SPARK-37049
>                 URL: https://issues.apache.org/jira/browse/SPARK-37049
>             Project: Spark
>          Issue Type: Bug
>          Components: Kubernetes, Spark Core
>    Affects Versions: 3.1.0
>            Reporter: Weiwei Yang
>            Priority: Major
>             Fix For: 3.1.3, 3.2.1, 3.3.0
>
>
> SPARK-33099 added the support to respect 
> "spark.dynamicAllocation.executorIdleTimeout" in ExecutorPodsAllocator. 
> However, when it checks if a pending executor pod is timed out, it checks 
> against the pod's "startTime". A pending pod "startTime" is empty, and this 
> causes the function "isExecutorIdleTimedOut()" always return true for pending 
> pods.
> This caused the issue, pending pods are deleted immediately when a stage is 
> finished and several new pods got recreated again in the next stage. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to