XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.8.0
    • None
    • Hide
      `TaskManagers` now bind to the host IP address instead of the hostname by default . This behaviour can be controlled by the configuration option `taskmanager.network.bind-policy`. If your Flink cluster should experience inexplicable connection problems after upgrading, try to set `taskmanager.network.bind-policy: name` in your `flink-conf.yaml` to return to the pre-1.8 behaviour.
      Show
      `TaskManagers` now bind to the host IP address instead of the hostname by default . This behaviour can be controlled by the configuration option `taskmanager.network.bind-policy`. If your Flink cluster should experience inexplicable connection problems after upgrading, try to set `taskmanager.network.bind-policy: name` in your `flink-conf.yaml` to return to the pre-1.8 behaviour.

    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

          Activity

            People

              1u0 Alex
              1u0 Alex
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m