You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jinhai (Jira)" <ji...@apache.org> on 2021/10/14 09:13:00 UTC
[jira] [Commented] (SPARK-37006) MapStatus adds localDirs to avoid
the rpc request by method getHostLocalDirs when shuffle reading
[ https://issues.apache.org/jira/browse/SPARK-37006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428714#comment-17428714 ]
jinhai commented on SPARK-37006:
--------------------------------
hi [~cloud_fan],can you review this issue for me?
> MapStatus adds localDirs to avoid the rpc request by method getHostLocalDirs when shuffle reading
> -------------------------------------------------------------------------------------------------
>
> Key: SPARK-37006
> URL: https://issues.apache.org/jira/browse/SPARK-37006
> Project: Spark
> Issue Type: Improvement
> Components: Shuffle
> Affects Versions: 3.1.2
> Reporter: jinhai
> Priority: Major
>
> In shuffle reading, in order to get the hostLocalDirs value when executing fetchHostLocalBlocks, we need ExternalBlockStoreClient or NettyBlockTransferService to make a rpc request.
> And when externalShuffleServiceEnabled, there is no need to registerExecutor and so on in the ExternalShuffleBlockResolver class.
> Throughout the spark shuffle module, a lot of code logic is written to deal with localDirs.
> We can directly add localDirs to the BlockManagerId class of MapStatus to get datafile and indexfile.
--
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