flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StephanEwen <...@git.apache.org>
Subject [GitHub] flink issue #5449: [FLINK-8623] ConnectionUtilsTest.testReturnLocalHostAddre...
Date Fri, 09 Mar 2018 12:57:45 GMT
Github user StephanEwen commented on the issue:

    This breaks the expected behavior, unfortunately.
    The logic is as follows:
      - try to connect to JM / RM / ZK and use an interface that you can connect from, if
      - if that does not work, fall back to your default interface (`getLocalHost()`) - the
    If we change step 2 to use `getByName("localhost")` it gives us the loopback interface
which no one external can connect to. That would basically mean that TM is isolated for any
data communication.
    The change to `ConnectionUtils` cannot be made like this. Instead, I would suggest to
look at why the instability happens and fix the test instead (retry or a better test approach).


View raw message