You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/02/25 14:11:00 UTC
[jira] [Commented] (SPARK-34541) Fixed an issue where data could
not be cleaned up when unregisterShuffle
[ https://issues.apache.org/jira/browse/SPARK-34541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17290934#comment-17290934 ]
Apache Spark commented on SPARK-34541:
--------------------------------------
User 'yikf' has created a pull request for this issue:
https://github.com/apache/spark/pull/31648
> Fixed an issue where data could not be cleaned up when unregisterShuffle
> ------------------------------------------------------------------------
>
> Key: SPARK-34541
> URL: https://issues.apache.org/jira/browse/SPARK-34541
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 3.0.0
> Reporter: yikf
> Priority: Minor
> Fix For: 3.0.0
>
>
> While we use the old shuffle fetch protocol, we use partitionId as mapId in the ShuffleBlockId construction,but we use `context.taskAttemptId()` as mapId that it is cached in `taskIdMapsForShuffle` when we `getWriter[K, V]`.
> where data could not be cleaned up when unregisterShuffle ,because we remove a shuffle's metadata from the `taskIdMapsForShuffle`'s mapIds, the mapId is `context.taskAttemptId()` instead of partitionId.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org