Github user zentol commented on the pull request:
https://github.com/apache/flink/pull/1947#issuecomment-217368732
@rmetzger you are correct that you're job failed since the previous one
wasn't cleaned up yet. Should you try to run 2 identical jobs in parallel it
will fail, since 2 jobs would use the same metrics due to name clashes. Note
that in this version this also occurs when 2 operators have the same name. I
have some additional functionality coming up that would allow you to circumvent
this issue.
@ankitcha The problem with multiple reporters is our configuration, it only
supports single-line key-value pairs, and you need to know the exact key to
access it. In order to configure multiple reporters you would either need a
nested structure (which is not supportet), or index the configuration keys
(metrics.reporter.1.class) and add a new parameter containing the indices to
use (e.g. metrics.reporter: 0, 1), which isn't particularly user-friendly. The
metric system itself could deal with multiple reporters with minor
modifications; it's all about the configuration.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---