Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

FQDN is not set for hosts.. Any issues in prod environment

avatar
Contributor

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.

9 REPLIES 9

avatar
Master Mentor

@Sriram

FQDN is required if you are not using DNS/reverse DNS.

See: http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Installing_HDP_AMB/content/_check_dns.ht...

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

avatar
Contributor

Dear @Geoffrey Shelton Okot

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.

avatar
Master Mentor

@Sriram

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

avatar
Contributor

@Geoffrey Shelton Okot

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?

avatar
Contributor

Can anyone please respond.

avatar
Master Mentor

@Sriram

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

avatar
Contributor

@Geoffery,

Thanks for your time and I believe there would be no issues other than DNS issues.

Thanks again.

avatar
Master Mentor

@Sriram

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.

avatar
Master Mentor

@Sriram

Has your problem been resolved please revert