beliefer opened a new pull request #28866:
URL: https://github.com/apache/spark/pull/28866


   ### What changes were proposed in this pull request?
   `DAGSchedulerSuite` provides `completeNextStageWithFetchFailure` to make all 
tasks in non first stage occur `FetchFailed`.
   But many test case uses complete directly as follows:
   ```
    complete(taskSets(1), Seq(
        (FetchFailed(makeBlockManagerId("hostA"),
           shuffleDep1.shuffleId, 0L, 0, 0, "ignored"), null)))
   ```
   We need to reuse `completeNextStageWithFetchFailure`.
   
   ### Why are the changes needed?
   Reuse `completeNextStageWithFetchFailure`
   
   
   ### Does this PR introduce _any_ user-facing change?
   'No'.
   
   
   ### How was this patch tested?
   Jenkins test
   


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to