Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1159#discussion_r40064020
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/net/NetUtils.java ---
    @@ -189,9 +191,17 @@ public static InetAddress 
findConnectingAddress(InetSocketAddress targetAddress,
                long currentSleepTime = MIN_SLEEP_TIME;
                long elapsedTime = 0;
     
    +           // before trying with different strategies: test with 
getLocalHost():
    +           InetAddress localhostName = InetAddress.getLocalHost();
    +
    +           if(tryToConnect(localhostName, targetAddress, 
AddressDetectionState.ADDRESS.getTimeout(), false)) {
    --- End diff --
    
    Why do we have this statement here? It should be covered by the 
`LOCAL_HOST` strategy.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to