You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dave DeCaprio (JIRA)" <ji...@apache.org> on 2019/01/05 16:01:00 UTC

[jira] [Commented] (SPARK-26548) Don't block during query optimization

    [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org