[
https://issues.apache.org/jira/browse/SPARK-53581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun closed SPARK-53581.
---------------------------------
> Potential thread-safety issue for mapTaskIds.add() in
> IndexShuffleBlockResolver
> -------------------------------------------------------------------------------
>
> Key: SPARK-53581
> URL: https://issues.apache.org/jira/browse/SPARK-53581
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 3.5.2, 3.4.4, 3.5.3, 3.5.4, 3.5.5, 3.5.6, 4.0.0, 4.0.1
> Reporter: wuyi
> Assignee: wuyi
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0, 3.5.7, 4.0.2
>
>
> {{OpenHashSet}} is not thread safe. We should enfoce synchronize lock when
> invokes the add function to ensure the thread-safety. One illegal case is the
> usage in IndexShuffleBlockResolver.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]