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

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

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

Xiao Li resolved SPARK-26548.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

> 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
>            Assignee: Dave DeCaprio
>            Priority: Minor
>              Labels: sql
>             Fix For: 3.0.0
>
>
> 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