Skip to content

Commit

Permalink
[Improvement] Add more logs about data flush
Browse files Browse the repository at this point in the history
  • Loading branch information
zuston committed Jan 13, 2023
1 parent f4048fc commit accfa3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ public String toString() {
+ ", appId=" + appId
+ ", shuffleId=" + shuffleId
+ ", startPartition=" + startPartition
+ ", endPartition=" + endPartition;
+ ", endPartition=" + endPartition
+ ", retryTimes=" + retryTimes
+ ", underStorage=" + underStorage.getClass().getSimpleName()
+ ", isPended=" + isPended;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ private void flushToFile(ShuffleDataFlushEvent event) {

Storage storage = storageManager.selectStorage(event);
if (storage == null) {
LOG.error("Storage selected is null and this should not happen. event: {}", event);
break;
}

Expand Down

0 comments on commit accfa3a

Please sign in to comment.