hdfs: hadoop-daemon.sh start|stop namenode|datanode|secondnode yarn: yarn-demon.sh start|stop resourcemanager|nodemanager mapreduce: mr-historyserver-demon.sh start|stop historyserver
hdfs: start-dfs.sh|stop-dfs.sh yarn: start-yarn.sh|stop-yarn.sh
須要配置ssh無密鑰登錄node
start-all.sh stop-all.sh
運行:ssh-keygen -t rsassh
而後拍兩下回車(均選擇默認)oop
運行: ssh-copy-id -i /root/.ssh/id_rsa.pub root@192.168.42.163code
或普通用戶: ssh-copy-id NAME@IPserver
再輸入163機器上的root密碼hadoop
此時,再ssh 到163機器,則不須要密碼了。相互之間scp,也不須要密碼配置