Ngone51 commented on a change in pull request #32287:
URL: https://github.com/apache/spark/pull/32287#discussion_r625153377
##########
File path:
core/src/main/scala/org/apache/spark/storage/ShuffleBlockFetcherIterator.scala
##########
@@ -146,6 +148,12 @@ final class ShuffleBlockFetcherIterator(
/** Current number of blocks in flight per host:port */
private[this] val numBlocksInFlightPerAddress = new HashMap[BlockManagerId,
Int]()
+ /**
+ * Count the retry times for the blocks due to Netty OOM. The block will
stop retry if
+ * retry times has exceeded the [[maxAttemptsOnNettyOOM]].
+ */
+ private[this] val blockOOMRetryTimes = new HashMap[String, Int]
Review comment:
I have moved all the operations on `blockOOMRetryTimes` under the
protection of `ShuffleBlockFetcherIterator`.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]