Hadoop集群常见脚本
作者:互联网
集群启动/停止方法
1.各个模块分开启动/停止(配置ssh是前提)
(1)整体启动/停止HDFS
start-dfs.sh/stop-dfs.sh
(2)整体启动/停止YARN
start-yarn.sh/stop-yarn.sh
2.各个服务组件逐一启动/停止
(1)分别启动/停止HDFS 组件
hdfs --daemon start/stop namenode/datanode/secondarynamenode
(2)启动/停止YARN
yarn --daemon start/stop resourcemanager/nodemanager
标签:脚本,启动,stop,Hadoop,yarn,start,sh,集群,停止 来源: https://www.cnblogs.com/jinci2022/p/16490002.html