Github user StephanEwen commented on the pull request: https://github.com/apache/flink/pull/581#issuecomment-95528015 `NetUtils.findConnectingAddress` is a useful util, when you know that the endpoint is up already. If you can make the assumption that the master is running already you can use that. For remote environments, this is probably a fair assumption. For local environments, this may not matter anyways, localhost should work there. Beware of the setups where you start the cluster from one machine (that starts the master on that machine) and launch the program from the same one. This whole network discovery is simply a bit tricky ;-)
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---