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:09:00 UTC

[jira] [Created] (SPARK-37006) MapStatus adds localDirs to avoid the rpc request by method getHostLocalDirs when shuffle reading

jinhai created SPARK-37006:
------------------------------

             Summary: 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


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