Tests showed that using IP address is much faster for mini cluster and a lot less flakier. See the jira for more details.