can taskmanager listen on all interfaces, like jobmanager?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

can taskmanager listen on all interfaces, like jobmanager?

Barisa Obradovic
I've notice that jobmanager ports all listen on all interfaces by default, as
well as data port on the taskmanager.

The only exception is the taskmanager RPC port,


```
bash-4.2$ netstat -lpn | grep 612
tcp        0      0 172.20.54.176:6121      0.0.0.0:*               LISTEN    
54/java
tcp        0      0 0.0.0.0:6122            0.0.0.0:*               LISTEN    
54/java
```

This is flink 1.10, I don't mind upgrading if newer versions of flink have
ability for taskmanager to listen on all ports.

I've seen there are
 taskmanager.host
 and taskmanager.network.bind-policy

But not matter what I input, I can't seem to get it listen on all interfaces
:(




--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: can taskmanager listen on all interfaces, like jobmanager?

r_khachatryan
I believe it was solved in 1.11 by FLINK-15911 [1]

I tried setting taskmanager.rpc.port to 10000 for 1.12 and got
tcp6       0      0 :::10000                :::*                    LISTEN      13768/java

[1]

Regards,
Roman


On Tue, Dec 8, 2020 at 6:27 PM Barisa Obradovic <[hidden email]> wrote:
I've notice that jobmanager ports all listen on all interfaces by default, as
well as data port on the taskmanager.

The only exception is the taskmanager RPC port,


```
bash-4.2$ netstat -lpn | grep 612
tcp        0      0 172.20.54.176:6121      0.0.0.0:*               LISTEN     
54/java
tcp        0      0 0.0.0.0:6122            0.0.0.0:*               LISTEN     
54/java
```

This is flink 1.10, I don't mind upgrading if newer versions of flink have
ability for taskmanager to listen on all ports.

I've seen there are
 taskmanager.host
 and taskmanager.network.bind-policy

But not matter what I input, I can't seem to get it listen on all interfaces
:(




--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: can taskmanager listen on all interfaces, like jobmanager?

Barisa Obradovic
Great, thank you very much :)



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/