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

 

  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.

 

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!


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



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

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

Reply via email to