Github user sandeep-katta commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21565#discussion_r195895035
  
    --- Diff: 
core/src/main/scala/org/apache/spark/ExecutorAllocationManager.scala ---
    @@ -488,9 +488,16 @@ private[spark] class ExecutorAllocationManager(
         newExecutorTotal = numExistingExecutors
         if (testing || executorsRemoved.nonEmpty) {
           executorsRemoved.foreach { removedExecutorId =>
    +        // If it is cachedBlcok timeout is configured using
    +        // spark.dynamicAllocation.cachedExecutorIdleTimeout
    +        val idleTimeout = if 
(SparkEnv.get.blockManager.master.hasCachedBlocks(removedExecutorId)) {
    --- End diff --
    
    I have updated the code as per comments


---

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

Reply via email to