wanglijie95 commented on code in PR #21111: URL: https://github.com/apache/flink/pull/21111#discussion_r1051749457
########## flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptivebatch/AdaptiveBatchScheduler.java: ########## @@ -150,10 +164,62 @@ protected void startSchedulingInternal() { } @Override - protected void onTaskFinished(final Execution execution) { + protected void onTaskFinished( + final Execution execution, final TaskExecutionStateTransition taskExecutionState) { + Optional.ofNullable(taskExecutionState.getIOMetrics()) Review Comment: It's should be non-null. I will add the check. -- 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