1.单节点停止服务 mapred --daemon stop 服务名 2.整体启动hdfs start-dfs.sh 3.整体启动yarn start-yarn.sh 4.分别启动hdfs组件 hdfs --daemon start/stop datanode/namenode/secondarynamenode 5.分别启动/停止yarn yarn --daemon start/stop resourcemanager/nodemanager
mapred --daemon stop 服务名
start-dfs.sh
start-yarn.sh
hdfs --daemon start/stop datanode/namenode/secondarynamenode
yarn --daemon start/stop resourcemanager/nodemanager