Actually, the method uses only the hostname and not hostPort - I can change StandaloneExecutorBackend to pass the hostname to Executor - and leave mesos changes intact.