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

Severe lock contention in SparkConnectExecutionManager

    XMLWordPrintableJSON

Details

    Description

      Critical sections protected by executionsLock can become too broad when there are too many ExecuteHolders, e.g., >= 10^4. The problem is aggravated when there are too many threads in the system: priority inversion. In order to minimise the chance of a thread getting pre-empted holding executionsLock, replace it with a concurrent hash map that internally partitions the data: coarse-grained locking -> fine-grained locking.

      -> https://issues.apache.org/jira/browse/SPARK-49580 will be eventually needed.

      Attachments

        Issue Links

          Activity

            People

              changgyoopark-db Changgyoo Park
              changgyoopark-db Changgyoo Park
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: