Qingxin Wu created SPARK-26588:
----------------------------------

             Summary: Idle executor should properly be killed when no job is 
submitted
                 Key: SPARK-26588
                 URL: https://issues.apache.org/jira/browse/SPARK-26588
             Project: Spark
          Issue Type: Bug
          Components: Scheduler, Spark Core
    Affects Versions: 2.4.0
            Reporter: Qingxin Wu


I enable dynamic allocation feature with *spark-shell* and do not submit any 
task. After *spark.dynamicAllocation.executorIdleTimeout* seconds(default 60s), 
there is still one active executor, which is abnormal. All idle executors are 
timeout and should be removed.(default 
*spark.dynamicAllocation.minExecutors*=0). The spark-shell command show below:
{code:java}
spark-shell --master=yarn --conf spark.ui.port=8040 --conf 
spark.dynamicAllocation.enabled=true --conf 
spark.dynamicAllocation.maxExecutors=8 --conf 
spark.dynamicAllocation.initialExecutors=4 --conf 
spark.shuffle.service.enabled=true
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to