Github user zentol commented on the pull request: https://github.com/apache/flink/commit/707606ac40dbbbd497fcbbb5442870fec5468bf3#commitcomment-17574494 In flink-core/src/main/java/org/apache/flink/metrics/groups/JobMetricGroup.java: In flink-core/src/main/java/org/apache/flink/metrics/groups/JobMetricGroup.java on line 97: this can produce wrong metrics for the Batch API. Metrics directly associated with a job will be reset if at any point a given TM has no tasks for a job.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---