You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Pan (Jira)" <ji...@apache.org> on 2021/12/08 04:35:00 UTC

[jira] [Created] (SPARK-37574) Simplify fetchBlocks w/o retry

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org