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

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.

Related questions

+1 vote
asked Feb 23, 2020 in Big Data | Hadoop by rahuljain1
0 votes
asked Jan 7, 2020 in Big Data | Hadoop by sharadyadav1986
0 votes
asked Sep 7, 2019 in Big Data | Hadoop by john ganales
...