Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
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
- links to