Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Proposed configuration (in flink-config.yaml):
taskmanager.network.bind-policy: name|ip
With the following behavior:
If a taskmanager.host configuration option set, then the new option has no effect. The provided address in the former would be used as binding address for TM.
Otherwise, TM would try to connect to a JM instance to determine it's binding address (java.net.InetAddress).
If taskmanager.network.bind-policy is:
- ip - (default) TM would use ip address of picked address (InetAddress.getHostAddress()). This is change in behavior compared with Flink 1.7 and earlier;
- name - TM would use name of the picked address (InetAddress.getHostName()). This is same as the old behavior, before introducing this feature.
Edit: updated after discussion with till.rohrmann and StephanEwen.
Attachments
Issue Links
- links to