1.单个节点操作

启动|停止单个节点

hdfs --daemon start|stop datanode

hdfs --daemon start|stop namenode

启动|停止单个节点的NodeManageer

yarn --daemon stop|start nodemanager

启动|停止ResourceManager

yarn --daemon start|stop resourcemanager

 

2.集群操作

start|stop-dfs.sh 在master上使用,否则只会停掉该台机器的datanode(namenode)

start|stop-yarn.sh(会停掉ResourceManager与NodeManager)在配置ResourceManager的机器上使用,否则只会停止该台机器上的NodeManager

start|stop-all.sh(不建议对集群使用)

 

相关文章:

  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2021-08-26
  • 2022-01-01
  • 2021-05-27
猜你喜欢
  • 2022-12-23
  • 2022-01-29
  • 2022-12-23
  • 2021-11-28
  • 2022-01-07
相关资源
相似解决方案