Hi ChangZhuo,

Queryable state is exposed on the same address as the TM RPC. You can
change this address by modifying taskmanager.host [1].
However, I'm not sure if setting it to 127.0.0.1 or localhost will not
break connectivity with the other components.

[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.12/deployment/config.html#taskmanager-host

Regards,
Roman


On Sun, Feb 7, 2021 at 2:20 PM ChangZhuo Chen (陳昌倬) <czc...@czchen.org>
wrote:

> On Thu, Feb 04, 2021 at 04:26:42PM +0800, ChangZhuo Chen (陳昌倬) wrote:
> > Hi,
> >
> > We have problem connecting to queryable state client proxy as described
> > in [0]. Any help is appreciated.
> >
> > * The port 6125 is opened in taskmanager pod.
> >
> >   ```
> >   root@<censored>-654b94754d-2vknh:/tmp# ss -tlp
> >   State            Recv-Q           Send-Q                     Local
> Address:Port                      Peer Address:Port          Process
> >   LISTEN           0                1024
> 0.0.0.0:46561                          0.0.0.0:*
> >   LISTEN           0                3
> 0.0.0.0:9249                           0.0.0.0:*
> >   LISTEN           0                1024
> 0.0.0.0:6122                           0.0.0.0:*
> >   LISTEN           0                1024
> 10.200.11.3:9067                           0.0.0.0:*
> >   LISTEN           0                1024
> 10.200.11.3:6125                           0.0.0.0:*
> >   LISTEN           0                1024
> 0.0.0.0:38607                          0.0.0.0:*
> >   ```
>
> The problem is that Flink only listens 10.200.11.3:6125 for queryable
> state client proxy, so we need to use correct network to connect to it.
> Is there any way we can make Flink to listen to 0.0.0.0 for queryable
> state client proxy?
>
>
> --
> ChangZhuo Chen (陳昌倬) czchen@{czchen,debconf,debian}.org
> http://czchen.info/
> Key fingerprint = BA04 346D C2E1 FE63 C790  8793 CC65 B0CD EC27 5D5B
>

Reply via email to