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

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

     [ https://issues.apache.org/jira/browse/SPARK-37574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-37574:
------------------------------------

    Assignee: Apache Spark

> 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
>            Assignee: Apache Spark
>            Priority: Minor
>
>  
> {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