CentOS 6.9 Hadoop 2.7.2
master 192.168.1.130 slave 192.168.1.131
master
[root@localhost ~]# vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 127.0.0.1 localhost 192.168.1.130 master 192.168.1.131 slave
[root@localhost ~]# vi /etc/sysconfig/network
NETWORKING=yes HOSTNAME=localhost.localdomain NETWORKING=yes HOSTNAME=master
slave
[root@localhost ~]# vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 127.0.0.1 localhost 192.168.1.130 […]
Recent Comments