hadoop的部署以及應用
1.基礎環境
[[email protected] ~]$ cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [[email protected] ~]$ [[email protected] ~]$ getenforce Disabled [[email protected] ~]$ systemctl status firewalld ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled) Active: inactive (dead) [[email protected]
2.IP以及對應節點
IP | 主機名 | hadoop node | hadoop 進程名稱 | |
192.168.56.100 | master | master | namenode,jobtracker | |
192.168.56.101 | slave1 | slave | datanode,tasktracker | |
192.168.56.102 | slave2 | slave | datanode,tasktracker | |
192.168.56.103 | slave3 | slave | datanode,tasktracker |
[[email protected] ~]# cat /etc/hosts 192.168.56.100 Master 192.168.56.101 slave1 192.168.56.102 slave2 192.168.56.103 slave3 [[email protected]