Is there a way to identify which is the address to set in the host file? I am trying with 127.0.0.1 and I am getting errors, all the time. I would like to set an address and be able to configure the node in cloudera manager.
Thanks a lot,
I assume you are using vm .
so edit the file accordingly , to perform the SSH configuration follow the link
On both the nodes .
/etc/hosts 192.168.200.201 master 192.168.200.202 slave
On the master node
on the slave node
Below is the best link to walk through the rest of the configuration ,mate
if you are plaining for Single node cluster ,
then just the hostname would be of your choice .
/etc/hosts 192.168.200.201 Hello
You have to configure Yum repository , MR2 yarn setup - the below is good link from Cloudera for Single node cluster setup .
Great, i will try it. Then with this information, which is the IP that I should look for specifying the hosts? Is this the same that I specified in the hosts file?
Thanks a lot,
@mercedes012345 The hosts file is a mapping between IPs and hostnames. Each lines corresponds to a single entry. The first column if for the IP address, the second column is for the fully qualified domain name, and the last column is for the hostname (columns can be separated by spaces or tabs).
You can have as many entires as needed. I honestly haven't done an install that didn't use DNS first, but unless my memory is failing all hosts need to be resolve each other. So if you are only using hosts files for name resolution you need to include all hosts in the cluster.
@csguna provided some examples. I would flesh it out by include all three columns
/etc/host 192.168.1.1 master.example.com master 192.168.1.2 worker.example.com worker
The hostname in the network file should be in the format of HOSTNAME=master.example.com