[
https://issues.apache.org/jira/browse/SPARK-26548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16734935#comment-16734935
]
Dave DeCaprio commented on SPARK-26548:
---------------------------------------
I have a fix and am creating a PR for this.
> Don't block during query optimization
> -------------------------------------
>
> Key: SPARK-26548
> URL: https://issues.apache.org/jira/browse/SPARK-26548
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.4.0
> Reporter: Dave DeCaprio
> Priority: Minor
> Labels: sql
>
> In Spark 2.4.0 the CacheManager was updated so it will not execute jobs while
> it holds a lock.This was introduced in -SPARK-23880.-
> The CacheManager still holds a write lock during the execution of the query
> optimizer. For complex queries the optimizer can run for a long time (we see
> 10-15 minutes for some exceptionally large queries). This allows only 1
> thread to optimize at once.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]