in Hadoop by
Q:
What is configured in /etc/hosts and what is its role in setting Hadoop cluster?

► Click here to show 1 Answer

0 votes
by

What is configured in /etc/hosts and what is its role in setting Hadoop cluster?

./etc/hosts file contains the hostname and their IP address of that host. It also, maps the IP address to the hostname. In hadoop cluster, we store all the hostnames (master and slaves) with their IP address in ./etc/hosts. So, we can use hostnames easily instead of IP addresses.

Loan/Mortgage
Learn More with Madanswer

Related questions

+1 vote
asked Feb 23, 2020 in Big Data | Hadoop by rahuljain1
...