You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dai Xiang <xi...@sky-data.cn> on 2018/01/23 03:41:03 UTC

Question about ip and hostname

Hi!

I have a question about why use hostname to do deploy?

Ip is more reliable and stable than hostname, and i find that
ambari always call api using https://${hostname}:${port} in log.

So that using hostname must mark relationships between ip and hostname in
/etc/hosts, right?

I only think that using hostname can make UI better, is it the only
reason?

Could anyone tell me detail about it?
-- 
Best Regards
Dai Xiang