You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/06/10 13:12:00 UTC
[jira] [Commented] (SPARK-35701) Contention on
SQLConf.sqlConfEntries and SQLConf.staticConfKeys
[ https://issues.apache.org/jira/browse/SPARK-35701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17360881#comment-17360881 ]
Apache Spark commented on SPARK-35701:
--------------------------------------
User 'haiyangsun-db' has created a pull request for this issue:
https://github.com/apache/spark/pull/32865
> Contention on SQLConf.sqlConfEntries and SQLConf.staticConfKeys
> ---------------------------------------------------------------
>
> Key: SPARK-35701
> URL: https://issues.apache.org/jira/browse/SPARK-35701
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.1.2
> Reporter: Haiyang Sun
> Assignee: Haiyang Sun
> Priority: Major
>
> The global locks used to protect {{SQLConf.sqlConfEntries}} map and the {{SQLConf.staticConfKeys}} set can cause significant contention on the SQLConf instance in a concurrent setting.
> Using copy-on-write versions should reduce the contention given that modifications to the configs are relatively rare.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org