xieshuaihu opened a new pull request, #46278:
URL: https://github.com/apache/spark/pull/46278

   ### What changes were proposed in this pull request?
   
   This patch makes spark connect supporting set scheduler pool name like 
vanilla spark.
   
   A new field `scheduler_pool` in `ExecutePlanRequest rpc` is added. User 
could call `SparkSession.setSchedulerPool` to set pool name and 
`SparkSession.clearSchedulerPool` to clear. Server will call 
SparkContext.setLocalProperty if field `scheduler_pool` is set.
   
   ### Why are the changes needed?
   
   Spark fair scheduler is better for multi-user settings, and spark connect 
could be deployed in multi-user environment, so it's natural for spark connect 
to support set fair scheduler pool name.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, two connect api is added: `SparkSession.setSchedulerPool`, 
`SparkSession.clearSchedulerPool`
   
   
   ### How was this patch tested?
   
   Add a new Unit test.
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No
   


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to