pnowojski commented on a change in pull request #11502:
URL: https://github.com/apache/flink/pull/11502#discussion_r496536462
##########
File path: flink-core/src/main/java/org/apache/flink/api/common/TaskInfo.java
##########
@@ -71,7 +71,7 @@ public TaskInfo(
this.indexOfSubtask = indexOfSubtask;
this.numberOfParallelSubtasks = numberOfParallelSubtasks;
this.attemptNumber = attemptNumber;
- this.taskNameWithSubtasks = taskName + " (" + (indexOfSubtask +
1) + '/' + numberOfParallelSubtasks + ')';
+ this.taskNameWithSubtasks = taskName + " (" + (indexOfSubtask +
1) + '/' + numberOfParallelSubtasks + ')' + " - execution #" + attemptNumber;
Review comment:
In order to not blow up the length of the messages too much, maybe just
append ` + "#" + attemptNumber`? After all:
- other components are not named
- reminding million times in a single log that this is `execution` seems an
overkill ;)
----------------------------------------------------------------
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]