sharath1709 commented on code in PR #930: URL: https://github.com/apache/flink-kubernetes-operator/pull/930#discussion_r1911479006
########## flink-autoscaler/src/main/java/org/apache/flink/autoscaler/topology/JobTopology.java: ########## @@ -150,6 +151,11 @@ public static JobTopology fromJsonPlan( ObjectNode plan = objectMapper.readValue(jsonPlan, ObjectNode.class); ArrayNode nodes = (ArrayNode) plan.get("nodes"); + if (nodes == null || nodes.isEmpty()) { + throw new NotReadyException( + new RuntimeException("No nodes found in the plan, job is not ready yet")); Review Comment: Thanks for the quick review! Updated. -- 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