mridulm commented on code in PR #43627:
URL: https://github.com/apache/spark/pull/43627#discussion_r1386166263
##########
core/src/main/scala/org/apache/spark/SparkEnv.scala:
##########
@@ -277,6 +287,11 @@ object SparkEnv extends Logging {
hostname, numCores, ioEncryptionKey, isLocal)
}
+ private def shuffleBlockGetterFn(shuffleId: Int, mapId: Long): Seq[BlockId]
= {
+ val env = SparkEnv.get
+ env.shuffleManager.shuffleBlockResolver.getBlocksForShuffle(shuffleId,
mapId)
+ }
+
Review Comment:
Looking at this later, preserving this is mainly to minimize test code.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]