warrenzhu25 commented on PR #38441:
URL: https://github.com/apache/spark/pull/38441#issuecomment-1297661121

   > No, I don't think that is a correct way because there exists a large Spark 
cluster. Please don't try to remove that line.
   
   What I mean is something like below, the memory added is constant regardless 
of cluster size.
   
   ```
   // limit the set size to 100 or 1000
   val executorsRemovedDueToDecom = new HashSet[String]
   
   executorsPendingDecommission.remove(executorId)
   executorsRemovedDueToDecom.add(executorId)
   
   ```


-- 
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