Ngone51 commented on a change in pull request #33617:
URL: https://github.com/apache/spark/pull/33617#discussion_r681542103
##########
File path: core/src/main/scala/org/apache/spark/shuffle/ShuffleBlockPusher.scala
##########
@@ -79,9 +79,11 @@ private[spark] class ShuffleBlockPusher(conf: SparkConf)
extends Logging {
return false
}
val errorStackTraceString = Throwables.getStackTraceAsString(t)
- // If the block is too late or the invalid block push, there is no
need to retry it
- !errorStackTraceString.contains(
- BlockPushErrorHandler.TOO_LATE_OR_STALE_BLOCK_PUSH_MESSAGE_SUFFIX)
+ // If the block is too late or the attempt is not the latest one,
+ // there is no need to retry it
+ !errorStackTraceString.contains(BlockPushErrorHandler.
+ TOO_LATE_OR_STALE_BLOCK_PUSH_MESSAGE_SUFFIX) &&
!errorStackTraceString.contains(
Review comment:
2 indents
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]