GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/3068
[FLINK-5380] Fix task metrics reuse for single-operator chains
This PR fixes the chain end detection in the `StreamingJobGraphGenerator`,
which fixes the re-use of metrics for tasks consisting of only a single
operator, which fixes the display in the WebInterface.
I've also added a test to make sure that chain start and end are set
correctly. Before the fix, `assertTrue(sourceConfig.isChainEnd());` would have
failed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink 5380_web_metrics
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3068.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3068
----
commit bfd038d13b73816adb4dab1387b1f75ecf2f2bfc
Author: zentol <ches...@apache.org>
Date: 2017-01-05T13:37:03Z
[FLINK-5380] Fix task metrics reuse for single-operator chains
----
---
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.
---