Github user advancedxy commented on a diff in the pull request:

    https://github.com/apache/spark/pull/23083#discussion_r235300436
  
    --- Diff: 
core/src/main/scala/org/apache/spark/storage/ShuffleBlockFetcherIterator.scala 
---
    @@ -72,7 +73,8 @@ final class ShuffleBlockFetcherIterator(
         maxBlocksInFlightPerAddress: Int,
         maxReqSizeShuffleToMem: Long,
         detectCorrupt: Boolean)
    -  extends Iterator[(BlockId, InputStream)] with DownloadFileManager with 
Logging {
    +  extends Iterator[(BlockId, InputStream)] with DownloadFileManager with 
TaskCompletionListener
    --- End diff --
    
    I don't it's a good idea for ShuffleBlockFetchIterator to be a subclass of 
TaskCompletionListener. 
    What's wrong with original solution?


---

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

Reply via email to