Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-26548

Don't block during query optimization

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 3.0.0
    • Component/s: SQL
    • Labels:

      Description

      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. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                DaveDeCaprio Dave DeCaprio
                Reporter:
                DaveDeCaprio Dave DeCaprio
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: