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

ASF GitHub Bot updated SPARK-32118:
-----------------------------------
    Labels: pull-request-available  (was: )

> Use fine-grained read write lock for each database in HiveExternalCatalog
> -------------------------------------------------------------------------
>
>                 Key: SPARK-32118
>                 URL: https://issues.apache.org/jira/browse/SPARK-32118
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0, 3.1.0
>            Reporter: Lantao Jin
>            Priority: Major
>              Labels: pull-request-available
>
> In HiveExternalCatalog, all metastore operations are synchronized by a same 
> object lock. In a heavy traffic Spark thriftserver or Spark Driver, users's 
> queries may be stuck by any a long operation. For example, if a user is 
> accessing a table which contains mass partitions, the operation 
> loadDynamicPartitions() holds the object lock for a long time. All queries 
> are blocking to wait for the lock.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to