tillrohrmann commented on a change in pull request #11987:
URL: https://github.com/apache/flink/pull/11987#discussion_r426428629
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/Execution.java
##########
@@ -1568,7 +1568,7 @@ private boolean transitionState(ExecutionState
currentState, ExecutionState targ
if (error == null) {
LOG.info("{} ({}) switched from {} to {}.",
getVertex().getTaskNameWithSubtaskIndex(), getAttemptId(), currentState,
targetState);
} else {
- LOG.info("{} ({}) switched from {} to {}.",
getVertex().getTaskNameWithSubtaskIndex(), getAttemptId(), currentState,
targetState, error);
+ LOG.info("{} ({}) switched from {} to {} on
{}.", getVertex().getTaskNameWithSubtaskIndex(), getAttemptId(), currentState,
targetState, getVertex().getCurrentAssignedResourceLocation(), error);
Review comment:
```suggestion
LOG.info("{} ({}) switched from {} to {} on
{}.", getVertex().getTaskNameWithSubtaskIndex(), getAttemptId(), currentState,
targetState, getAssignedResource(), error);
```
----------------------------------------------------------------
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]