Hadoop启动方式

启动方式

1.逐一启动

hdfs
	hadoop-daemon.sh start|stop namenode|datanode|secondrynamenode
yarn
	yarn-daemon.sh start|stop resourcemanager|nodemanager
mapreduce
	mr-historyserver-daemon.sh start|stop historyserver

2.使用现成脚本,按模块启动

hdfs
	start-dfs.sh
	stop-dfs.sh
yarn
	start-yarn.sh
	stop-yarn.sh
mapreduce跟上面一致

3.实现现成脚本,全部一起启动

start-all.sh
    stop-all.sh
posted @ 2017-06-20 07:41  岑忠满  阅读(548)  评论(0编辑  收藏  举报