Hi all,
I'm running a Beam pipeline on Flink and sending metrics via the Graphite reporter. I get repeated exceptions on the slaves, which try to register the same metric multiple times. Jobmanager and taskmanager data is fine: I can see JVM stuff, but only one
datapoint here and there for tasks/operations.
I am using Beam 2.1.0, and am thus running Flink 1.3.0. What can be the cause of this or how can I find out?
Below you'll find the error, followed by Flink's metrics configuration.
Reinier
------
------
metrics.reporters: graphite
metrics.reporter.graphite.class: org.apache.flink.metrics.graphite.GraphiteReporter
metrics.reporter.graphite.host: something
metrics.reporter.graphite.port: 2003
metrics.reporter.graphite.protocol: TCP
metrics.reporter.graphite.interval: 1 SECONDS
metrics.scope.jm: bla.<host>.jobmanager
metrics.scope.jm.job: bla.<host>.jobmanager.<job_name>
metrics.scope.tm: bla.<host>.taskmanager.<tm_id>
metrics.scope.tm.job: bla.<host>.taskmanager.<tm_id>.<job_name>
metrics.scope.task: bla.<host>.taskmanager.<tm_id>.<job_name>.task.<task_name>.<subtask_index>
metrics.scope.operator: bla.<host>.taskmanager.<tm_id>.<job_name>.operator.<operator_name>.<subtask_index>
|
You probably have multiple operators
that are called "Map", which causes the metric identifier to not
be unique.
As a result only 1 of these metrics is reported (whichever was registered first). Giving each operator a unique name will resolve this issue, but I don't know exactly how to do that with Beam. On 29.09.2017 16:03, Reinier Kip wrote:
|
Why of course... Thank you for your time. I'll figure out where to go with Beam. From: Chesnay Schepler <[hidden email]>
Sent: 29 September 2017 16:41:23 To: [hidden email] Subject: Re: Repeated exceptions during system metrics registration You probably have multiple operators that are called "Map", which causes the metric identifier to not be unique.
As a result only 1 of these metrics is reported (whichever was registered first). Giving each operator a unique name will resolve this issue, but I don't know exactly how to do that with Beam. On 29.09.2017 16:03, Reinier Kip wrote:
|
Free forum by Nabble | Edit this page |