Created 06-05-2018 05:19 AM
Hi,
I have few servers in prod environment and I came to know that the hosts are not having FQDN during verification of the setup.
Is FQDN mandatory? If FQDN is not set then what kind of issues do we see in future?
Please let me know.
Note: hostname -f gives me only the hostname but not FQDN.
Thanks for your time.
Created 06-05-2018 06:04 AM
FQDN is required if you are not using DNS/reverse DNS.
You can manage this by maintaining /etc/hosts but whenever IP changes in the environment then you have to update the entries in the host file.
FQDN is recommended for reasons like users does not need to have local /etc/hosts in their env to reach the cluster.
Hope that helps
Created 06-06-2018 05:42 AM
Many thanks for your kind response.
We are using DNS here and I would like to know if any Hadoop service is impacted if FQDN is not used.
Also, will it be a problem in any job execution or any where while using Hadoop?
Note: Everything is good with respect to DNS look up and I am worried whether hadoop usage will be impacted or not.
Created 06-06-2018 06:09 AM
If you are using DNS then that should be fine as the hostname resolution will be automatically done.
Have you encountered any issues ? Here is the check DNS document
Created 06-06-2018 06:13 AM
No issues as of now.. but this is going to live and I am worried if there would be any issue in future?
To ask in one line:
What happens if the host does not have FQDN? Any technical issues in Hadoop environment other than DNS issues?
Created 06-06-2018 07:16 AM
Can anyone please respond.
Created 06-06-2018 07:48 AM
Extract for the Hortonworks documentation
"All hosts in your system must be configured for DNS and Reverse DNS."
If you are unable to configure DNS and Reverse DNS, you must edit the hosts' file on every host in your cluster to contain the address of each of your hosts and to set the Fully Qualified Domain Name hostname of each of those hosts.
So that clearly answers your worries 🙂
HTH
Created 06-06-2018 07:55 AM
@Geoffery,
Thanks for your time and I believe there would be no issues other than DNS issues.
Thanks again.
Created 06-06-2018 08:01 AM
You won't have DNS issues and please don't hesitate if you encounter ay problem. We have a great forum and very savvy members.
If you found this answer addressed your question, please take a moment to log in and click the "Accept" link on the answer.
Created 06-10-2018 11:35 PM
Has your problem been resolved please revert