1.關閉防火牆,永久關閉指令
chkconfig iptables off
2.配置hadoop-env.sh,配置yarn-env.sh
3.啟動datanode,namenode
sbin/hadoop-daemon.sh start datanode
sbin/hadoop-daemon.sh start namenode
訪問50070端口
4.啟動resourcemanager,nodemanager
sbin/yarn-daemon.sh start resourcemanager
sbin/yarn-daemon.sh start nodemanager
訪問8088端口
