Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

What is the most idle way for a hadoop cluster's FQDN policy?

avatar
Rising Star

Here's hadoop cluster information in CentOS 6.7.

/etc/hosts

10.10.1.10 cm.hdp.com cm

10.10.1.11 nn01.hdp.com nn01

10.10.1.12 nn02.hdp.com nn02

10.10.1.13 yarn.hdp.com yarn

10.10.1.14 dn01.hdp.com dn01

10.10.1.15 dn02.hdp.com dn02

10.10.1.16 dn03.hdp.com dn03

In case of a node, nn01.hdp.com,

I wondering about HOSTNAME's value in '/etc/sysconfig/network'.

Following this link, it is recommend HOSTNAME pattern like that "FQDN".

https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-installation/content/edit_the_net...

14042-2017-03-25-23-47-18.png

Why is that HOSTNAME changed to FQDN?

I think, HOSTNAME value is not FQDN but HOSTNAME like this.

HOSTNAME=nn01

1 ACCEPTED SOLUTION

avatar
Expert Contributor

You need to update in /etc/hosts as well.

1) /etc/sysconfig/network :- this used while internode communication

2) /etc/hosts while client connection this is going to use.

We need to set FQDN names on both file, this idle way

View solution in original post

1 REPLY 1

avatar
Expert Contributor

You need to update in /etc/hosts as well.

1) /etc/sysconfig/network :- this used while internode communication

2) /etc/hosts while client connection this is going to use.

We need to set FQDN names on both file, this idle way