[
https://issues.apache.org/jira/browse/SPARK-45776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kent Yao reassigned SPARK-45776:
--------------------------------
Assignee: Yang Jie
> Remove the defensive null check added in SPARK-39553.
> -----------------------------------------------------
>
> Key: SPARK-45776
> URL: https://issues.apache.org/jira/browse/SPARK-45776
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 4.0.0
> Reporter: Yang Jie
> Assignee: Yang Jie
> Priority: Minor
> Labels: pull-request-available
>
> {code:java}
> def unregisterShuffle(shuffleId: Int): Unit = {
> shuffleStatuses.remove(shuffleId).foreach { shuffleStatus =>
> // SPARK-39553: Add protection for Scala 2.13 due to
> https://github.com/scala/bug/issues/12613
> // We should revert this if Scala 2.13 solves this issue.
> if (shuffleStatus != null) {
> shuffleStatus.invalidateSerializedMapOutputStatusCache()
> shuffleStatus.invalidateSerializedMergeOutputStatusCache()
> }
> }
> } {code}
> This issue has been fixed in Scala 2.13.9.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]