zentol commented on a change in pull request #15348: URL: https://github.com/apache/flink/pull/15348#discussion_r604382119
########## File path: flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/JobGraphJobInformation.java ########## @@ -50,7 +55,16 @@ public JobGraphJobInformation(JobGraph jobGraph) { @Override public JobInformation.VertexInformation getVertexInformation(JobVertexID jobVertexId) { - return new JobVertexInformation(jobGraph.findVertexByID(jobVertexId)); + return new JobVertexInformation( + jobGraph.findVertexByID(jobVertexId), + vertexParallelismStore + .getParallelismInfo(jobVertexId) + .orElseThrow( Review comment: I don't think we strictly need to throw a JobException. -- 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: us...@infra.apache.org