pkotikalapudi commented on code in PR #42352:
URL: https://github.com/apache/spark/pull/42352#discussion_r1577058026


##########
core/src/main/scala/org/apache/spark/ExecutorAllocationManager.scala:
##########
@@ -340,6 +385,45 @@ private[spark] class ExecutorAllocationManager(
     }
   }
 
+  /**
+   * Maximum number of executors to be removed per dra evaluation.

Review Comment:
   It can be useful for batch jobs as well. Like allocation ratio, 
de-allocation ratio are also relevant in scaling-out/back only few executors at 
a time. Especially in cases where Stages of a batch job  has alternating 
high/low tasks.
   
   I restricted this behind `streamingDRAFeatureEnabled` initially for feature 
distinction. I can modify the code to have this as a config which can be used 
in traditional DRA as well.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to