You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2018/09/11 13:56:00 UTC

[jira] [Resolved] (SPARK-25386) Don't need to synchronize the IndexShuffleBlockResolver for each writeIndexFileAndCommit call

     [ https://issues.apache.org/jira/browse/SPARK-25386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-25386.
-------------------------------
    Resolution: Won't Fix

> Don't need to synchronize the IndexShuffleBlockResolver for each writeIndexFileAndCommit call
> ---------------------------------------------------------------------------------------------
>
>                 Key: SPARK-25386
>                 URL: https://issues.apache.org/jira/browse/SPARK-25386
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.3.1
>            Reporter: Xianyang Liu
>            Priority: Major
>
> Now, we need synchronize the instance of IndexShuffleBlockResolver in order to make the commit check and tmp file rename atomically. This can be improved. We could synchronize a lock which is different for each `shuffleId + mapId` instead of  synchronize the indexShuffleBlockResolver for each writeIndexFileAndCommit call.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org