Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Configure network names: Use /etc/host or DNS? What does Cloudera recommend?

Highlighted

Configure network names: Use /etc/host or DNS? What does Cloudera recommend?

According to Cloudera documentation, it is a necessary step to add entries to /etc/hosts for each node in the cluster [https://docs.cloudera.com/documentation/enterprise/6/latest/topics/configure_network_names.html] but there are scripts of previous validations where they validate that the /etc/hosts file does not have more than two entries (Local host and its same IP).
In the company where I work, it is necessary to manage an exception to justify the editing of the /etc/hosts file and currently the DNS correctly resolves hostnames (FQDN) and IP addresses (Reverse Lookup).

Is it really necessary to keep the /etc/hosts with one entry for each host in the cluster? Is it possible to maintain cluster performance in optimal conditions using only DNS?

Regards.

Don't have an account?
Coming from Hortonworks? Activate your account here