fred-db commented on PR #44882: URL: https://github.com/apache/spark/pull/44882#issuecomment-1914299386
Hi @mridulm , I'm able to reproduce the deadlock consistently when running the test I added and after removing the call to `stateLock.synchronized` from `getCacheLocs`. The issue exists essentially with CoalescedRDDs. When calling `getPartitions` on a `CoalescedRDD`, the `PartitionLocations` of the `DefaultPartitionCoalescer` will do a call to `dagScheduler.getPreferredLocs`, which internally calls `getCacheLocs`, causing the deadlock. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
