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

sandeep katta commented on SPARK-26758:
---------------------------------------

I am able to reproduce this issue and soon will be providing patch for this

Driver Logs


2019-01-30 14:16:39,134 | INFO | spark-dynamic-executor-allocation | *Request 
to remove executorIds: 2, 1* | 
org.apache.spark.internal.Logging$class.logInfo(Logging.scala:54)
2019-01-30 14:16:39,135 | DEBUG | spark-dynamic-executor-allocation | *Not 
removing idle executor 2 because there are only 3 executor(s) left* (number of 
executor target 3) | 
org.apache.spark.internal.Logging$class.logDebug(Logging.scala:58)
2019-01-30 14:16:39,135 | DEBUG | spark-dynamic-executor-allocation | Not 
removing idle executor 2 because there are only 3 executor(s) left (number of 
executor target 3) | 
org.apache.spark.internal.Logging$class.logDebug(Logging.scala:58)
2019-01-30 14:16:39,135 | DEBUG | spark-dynamic-executor-allocation | Not 
removing idle executor 1 because there are only 3 executor(s) left (number of 
executor target 3) | 
org.apache.spark.internal.Logging$class.logDebug(Logging.scala:58)
2019-01-30 14:16:39,135 | DEBUG | spark-dynamic-executor-allocation | Not 
removing idle executor 1 because there are only 3 executor(s) left (number of 
executor target 3) | 
org.apache.spark.internal.Logging$class.logDebug(Logging.scala:58)
2019-01-30 14:16:39,241 | DEBUG | spark-dynamic-executor-allocation | Lowering 
target number of executors to 0 (previously 3) because not all requested 
executors are actually needed | 
org.apache.spark.internal.Logging$class.logDebug(Logging.scala:58)
2019-01-30 14:16:39,241 | DEBUG | spark-dynamic-executor-allocation | Lowering 
target number of executors to 0 (previously 3) because not all requested 
executors are actually needed | 
org.apache.spark.internal.Logging$class.logDebug(Logging.scala:58)

> Idle Executors are not getting killed after 
> spark.dynamicAllocation.executorIdleTimeout value
> ---------------------------------------------------------------------------------------------
>
>                 Key: SPARK-26758
>                 URL: https://issues.apache.org/jira/browse/SPARK-26758
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 2.4.0
>         Environment: Spark Version:2.4
>            Reporter: ABHISHEK KUMAR GUPTA
>            Priority: Major
>         Attachments: SPARK-26758.png
>
>
> Steps:
> 1. Submit Spark shell with below initial Executor 3, minimum Executor=0 and 
> executorIdleTimeout=60s
> {code}
> bin/spark-shell --master yarn --conf spark.dynamicAllocation.enabled=true \
>   --conf spark.dynamicAllocation.initialExecutors=3 \
>   --conf spark.dynamicAllocation.minExecutors=0 \
>   --conf spark.dynamicAllocation.executorIdleTimeout=60s
> {code}
> 2. Launch Spark UI and check under Executor Tab
> Observation:
> Initial 3 Executors assigned. After 60s( executorIdleTimeout) , number of 
> active executor remains same.
> Expected:
> Apart from AM container, all other executors should be dead.
>  
>  



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

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

Reply via email to