Ngone51 commented on a change in pull request #32287:
URL: https://github.com/apache/spark/pull/32287#discussion_r623151568



##########
File path: 
core/src/main/scala/org/apache/spark/storage/ShuffleBlockFetcherIterator.scala
##########
@@ -146,6 +148,14 @@ final class ShuffleBlockFetcherIterator(
   /** Current number of blocks in flight per host:port */
   private[this] val numBlocksInFlightPerAddress = new HashMap[BlockManagerId, 
Int]()
 
+  /**
+   * The average size of the remote blocks. We'll only unset 
`isNettyOOMOnShuffle` when
+   * the free Netty memory is larger than this.
+   *
+   * Visible to [[BufferReleasingInputStream]]
+   */
+  var averageRemoteBlockSize = 0L

Review comment:
       it doesn't. It's a filed to the shuffle block fetcher iterator instance.




-- 
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to