Skip to content

Commit

Permalink
[apache#1608] improvement(spark3): Output the reassign logs in client…
Browse files Browse the repository at this point in the history
… side
  • Loading branch information
zuston committed Jun 12, 2024
1 parent 6d656ac commit f1eb267
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@ private void doReassignOnBlockSendFailure(
}
MutableShuffleHandleInfo handle = MutableShuffleHandleInfo.fromProto(response.getHandle());
taskAttemptAssignment.update(handle);
LOG.info("Success to reassign. The latest available assignment is {}", handle.getAvailablePartitionServersForWriter());
} catch (Exception e) {
throw new RssException(
"Errors on reassign on block send failure. failure partition->servers : "
Expand Down Expand Up @@ -677,6 +678,7 @@ private void reassignAndResendBlocks(Set<TrackingBlockStatus> blocks) {
}

processShuffleBlockInfos(resendCandidates);
LOG.info("Failed blocks have been resent to data pusher queue since reassignment has been finished successfully");
}

private void clearFailedBlockState(ShuffleBlockInfo block) {
Expand Down

0 comments on commit f1eb267

Please sign in to comment.