[
https://issues.apache.org/jira/browse/FLINK-16751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Rohrmann updated FLINK-16751:
----------------------------------
Description:
With FLINK-15911 it is now possible to run Flink behind a NAT/with an
unresolvable external address. However, due to FLINK-11127, the
{{MetricFetcherImpl}} tries to connect to the {{TaskManagers}} instead of the
other way around. If the TM is running behind a NAT, it would require to define
an external port. At the moment, it is only possible to configure the bind port
via {{metrics.internal.query-service.port}}. Hence, the external port always
needs to be the same as the bind port if port forwarding should work.
I think in order to properly solve this problem we either solve FLINK-11127 or
we introduce a {{metrics.internal.query-service.bind-port}} option which allows
to configure a bind port. With such an option,
{{metrics.internal.query-service.port}} would become the external port.
was:
With FLINK-15911 it is now possible to run Flink behind a NAT/with an
unresolvable external address. However, due to FLINK-11127, the
{{MetricFetcherImpl}} tries to connect to the {{TaskManagers}} instead of the
other way around. If the TM is running behind a NAT, it would require to define
an external port. At the moment, it is only possible to configure the bind port
via {{metrics.internal.query-service.port}}.
I think in order to properly solve this problem we either solve FLINK-11127 or
we introduce a {{metrics.internal.query-service.bind-port}} option which allows
to configure a bind port. With such an option,
{{metrics.internal.query-service.port}} would become the external port.
> Expose bind port for Flink metric query service
> -----------------------------------------------
>
> Key: FLINK-16751
> URL: https://issues.apache.org/jira/browse/FLINK-16751
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Coordination
> Affects Versions: 1.11.0
> Reporter: Till Rohrmann
> Priority: Major
> Fix For: 1.11.0
>
>
> With FLINK-15911 it is now possible to run Flink behind a NAT/with an
> unresolvable external address. However, due to FLINK-11127, the
> {{MetricFetcherImpl}} tries to connect to the {{TaskManagers}} instead of the
> other way around. If the TM is running behind a NAT, it would require to
> define an external port. At the moment, it is only possible to configure the
> bind port via {{metrics.internal.query-service.port}}. Hence, the external
> port always needs to be the same as the bind port if port forwarding should
> work.
> I think in order to properly solve this problem we either solve FLINK-11127
> or we introduce a {{metrics.internal.query-service.bind-port}} option which
> allows to configure a bind port. With such an option,
> {{metrics.internal.query-service.port}} would become the external port.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)