cfmcgrady commented on code in PR #2609:
URL: https://github.com/apache/celeborn/pull/2609#discussion_r1713613952


##########
client/src/main/java/org/apache/celeborn/client/read/CelebornInputStream.java:
##########
@@ -388,6 +389,15 @@ private ByteBuf getNextChunk() throws IOException {
             throw new CelebornIOException(
                 "Fetch data from excluded worker! " + 
currentReader.getLocation());
           }
+
+          // read one chunk first, then throw CelebornIOException to let spark 
rerun stage
+          if (conf.testRandomPushForStageRerun() && shuffleId == 0 && 
!alreadyReadChunk) {

Review Comment:
   assigning a class member to prevent performance degradation.



-- 
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]

Reply via email to