Cheng Pan created SPARK-37574:
---------------------------------

             Summary: Simplify fetchBlocks w/o retry
                 Key: SPARK-37574
                 URL: https://issues.apache.org/jira/browse/SPARK-37574
             Project: Spark
          Issue Type: Improvement
          Components: Shuffle
    Affects Versions: 3.3.0
            Reporter: Cheng Pan


 
{code:java}
if (maxRetries > 0) {
  // Note this Fetcher will correctly handle maxRetries == 0; we avoid it just 
in case there's
  // a bug in this code. We should remove the if statement once we're sure of 
the stability.
  new RetryingBlockTransferor(transportConf, blockFetchStarter, blockIds, 
listener).start()
} else {
  blockFetchStarter.createAndStart(blockIds, listener)
}{code}
 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to