cxzl25 commented on issue #23895: [SPARK-26992][STS] Fix STS scheduler pool 
correct delivery
URL: https://github.com/apache/spark/pull/23895#issuecomment-470058243
 
 
   The user sets the value of spark.sql.thriftserver.scheduler.pool.
   Spark thrift server saves this value in the LocalProperty of **threadlocal** 
type, but does **not clean up after running**, causing other sessions to run in 
the previously set pool name.
   
   For example
   The second session does not manually set the pool name. The default pool 
name should be used, but the pool name of the previous user's settings is used. 
This is incorrect.
   
   
![error_session](https://user-images.githubusercontent.com/3898450/53875036-ab717400-403e-11e9-86f4-128f39eedb24.png)
   
   
![error_stage](https://user-images.githubusercontent.com/3898450/53875051-b1ffeb80-403e-11e9-8cb4-656655354ce3.png)
   
   
   Fix
   
   
![expect_session](https://user-images.githubusercontent.com/3898450/53875166-e5db1100-403e-11e9-869c-5b9d456034e8.png)
   
   
   
![expect_stage](https://user-images.githubusercontent.com/3898450/53875224-060ad000-403f-11e9-8d21-8a5c58d0bf41.png)
   
   
   
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to