klion26 commented on a change in pull request #8164: [FLINK-12184] history
server compatible with old version
URL: https://github.com/apache/flink/pull/8164#discussion_r275116911
##########
File path:
flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/history/HistoryServerArchiveFetcher.java
##########
@@ -248,7 +248,7 @@ private static String convertLegacyJobOverview(String
legacyOverview) throws IOE
JsonNode tasks = job.get("tasks");
int numTasks = tasks.get("total").asInt();
- int pending = tasks.get("pending").asInt();
+ int pending = tasks.get("scheduled").asInt();
Review comment:
after this change, how can we get the numbers represented by "pending"
----------------------------------------------------------------
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]
With regards,
Apache Git Services