Top
Interstage Big DataParallel Processing ServerV1.0.1 User's Guide
FUJITSU Software

5.6 Host Name Settings

The host names used by Hadoop need to be set for the master servers, slave servers, development servers, and collaboration servers.

In the hosts file, enter the host names for the NICs to be connected to the public LANs of the servers.


hosts file
/etc/hosts

Refer to the online manual for information on the hosts file.

Point

  • Specify strings meeting the following conditions as the host names:

    • Must contain only lowercase alphanumeric characters

    • The first character must be a letter

    • Must be up to 11 characters

  • The content of the hosts file on the primary master server must match the secondary master server in order to build a master server replicated configuration.

  • Add the host name information added to the master server to the hosts files of the slave servers, development servers and collaboration servers.

  • Match the server names with the host names of the master servers, slave servers, and development servers (refer to "5.7 Server Name Settings" for details).

Note

Note the following if registering a local host in the hosts file.

  • If setting a local host name for "127.0.0.1", it is essential to first enter an IP address that can be referenced remotely. Alternatively, do not set a local host name for "127.0.0.1".

  • Do not use an alias for the Host name.

Example

Example of IP addresses and host names allocated to the NICs connected to the public LANs of the different servers:

  • Primary master server

:10.10.10.11

:master1

  • Secondary master server

:10.10.10.12

:master2

  • Slave server

:10.10.10.21 to 10.10.10.25

:slave1 to slave5

  • Development server

:10.10.10.30

:develop

  • Collaboration server

:10.10.10.31

:collaborate

Set the hosts file on the master servers as follows:

10.10.10.11 master1
10.10.10.12 master2
127.0.0.1 localhost.localdomain localhost

10.10.10.21 slave1
10.10.10.22 slave2
10.10.10.23 slave3
10.10.10.24 slave4
10.10.10.25 slave5
10.10.10.30 develop
10.10.10.31 collaborate