You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "dzcxzl (JIRA)" <ji...@apache.org> on 2019/02/26 07:24:00 UTC

[jira] [Updated] (SPARK-26992) Fix STS scheduler pool correct delivery

     [ https://issues.apache.org/jira/browse/SPARK-26992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dzcxzl updated SPARK-26992:
---------------------------
    Description: 
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.

!image-2019-02-26-15-20-51-076.png!

 

!image-2019-02-26-15-21-02-966.png!

  was:
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.


> Fix STS scheduler pool correct delivery
> ---------------------------------------
>
>                 Key: SPARK-26992
>                 URL: https://issues.apache.org/jira/browse/SPARK-26992
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0, 2.4.0
>            Reporter: dzcxzl
>            Priority: Minor
>
> 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.
> !image-2019-02-26-15-20-51-076.png!
>  
> !image-2019-02-26-15-21-02-966.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org