You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What changes were proposed in this pull request?
Makes the number of idle workers in the `PythonWorkerFactory` pool configurable.
### Why are the changes needed?
Without limiting the maximum queue size, the idle worker pool can grow unbounded. Allows better control over number of workers allowed.
### Does this PR introduce _any_ user-facing change?
Yes, adds a new optional configuration entry: `spark.python.factory.idleWorkerMaxPoolSize`, from Spark 4.1.0
### How was this patch tested?
This patch adds two new test to verify behavior with and without the worker limit configuration.
### Was this patch authored or co-authored using generative AI tooling?
No
Closes#51684 from craiuconstantintiberiu/SPARK-52971-idle-pool.
Authored-by: Tibi Craiu <[email protected]>
Signed-off-by: Takuya Ueshin <[email protected]>
0 commit comments