Considering host configurations

Host and DNS configurations play a very import role in communication among the components of Hadoop and HBase. So, we need to have the host domain name forward and backward resolvable. This section will cover the different methods to consider for host configurations.

Host file based

First, we set a hostname for the machine; we change the hostname of the node by changing it into a hostname file, which is found in the /etc/ directory. We can use a command or edit the hostname file.

Command based

The following command sets the new hostname for the system, but if we want to make it persistent, we need to open the hostname file from the /etc/ directory and change it in the file:

sudo hostname <name we need to give for the ...

Get Learning HBase now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.