修改主机名为 hadoop : hostnamectl set-hostname hadoop00
修改解析:
vi /etc/hosts
127.0.0.1 localhost hadoop00 localhost4 localhost4.localdomain4::1 localhost hadoop00 localhost6 localhost6.localdomain6hadoop00 192.168.74.100