tillrohrmann commented on a change in pull request #16523: URL: https://github.com/apache/flink/pull/16523#discussion_r672149405
########## File path: flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/Execution.java ########## @@ -1435,8 +1437,18 @@ private boolean transitionState( getAttemptId(), currentState, targetState); - } else { - if (LOG.isInfoEnabled()) { + } else if (LOG.isInfoEnabled()) { + Optional<NoResourceAvailableException> noResourceException = + findThrowable(error, NoResourceAvailableException.class); + if (noResourceException.isPresent()) { + LOG.info( + "{} ({}) switched from {} to {}: {}", + getVertex().getTaskNameWithSubtaskIndex(), + getAttemptId(), + currentState, + targetState, + noResourceException.get().getMessage()); Review comment: I think there are `NoResourceAvailableException` that contain a cause that might be helpful to see. Look for `NoResourceAvailableException(String, Throwable)` calls. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org