You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Boyang Jerry Peng (Jira)" <ji...@apache.org> on 2020/10/06 00:22:00 UTC
[jira] [Updated] (FLINK-19468) Metrics return empty when data
stream / operator name contains "+"
[ https://issues.apache.org/jira/browse/FLINK-19468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boyang Jerry Peng updated FLINK-19468:
--------------------------------------
Description:
If I submit a Flink job in which the stream name has a "+" character, the metrics returned for the stream is always empty. Consider the following example:
`
env.addSource(new TestSource()).name("testing + plus");
`
For example if the operator name is:
pulsar(url: pulsar+ssl://192.168.1.198:56014)
Metrics for an operator with the above name will always return empty.
was:
There is an issue in which the special character "+" is not removed from the data stream / operator name which causes metrics for the operator to not be properly returned. Code Reference:
[https://github.com/apache/flink/blob/master/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/dump/MetricQueryService.java#L208]
For example if the operator name is:
pulsar(url: pulsar+ssl://192.168.1.198:56014)
Metrics for an operator with the above name will always return empty.
> Metrics return empty when data stream / operator name contains "+"
> ------------------------------------------------------------------
>
> Key: FLINK-19468
> URL: https://issues.apache.org/jira/browse/FLINK-19468
> Project: Flink
> Issue Type: Bug
> Components: API / DataStream
> Affects Versions: 1.9.0, 1.9.2, 1.9.3, 2.0.0
> Reporter: Boyang Jerry Peng
> Assignee: Boyang Jerry Peng
> Priority: Major
> Labels: pull-request-available
>
> If I submit a Flink job in which the stream name has a "+" character, the metrics returned for the stream is always empty. Consider the following example:
> `
> env.addSource(new TestSource()).name("testing + plus");
> `
>
> For example if the operator name is:
> pulsar(url: pulsar+ssl://192.168.1.198:56014)
> Metrics for an operator with the above name will always return empty.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)