@ Deprecated public static String getClientHostName ( AlluxioConfiguration conf ) { if ( conf . isSet ( PropertyKey . USER_HOSTNAME ) ) { return conf . get ( PropertyKey . USER_HOSTNAME ) ; } return getLocalHostName ( ( int ) conf . getMs ( PropertyKey . NETWORK_HOST_RESOLUTION_TIMEOUT_MS ) ) ; }
Gets the local hostname to be used by the client . If this isn t configured a non - loopback local hostname will be looked up .