Switching to hostnames instead of private ip in hadoop confs