美文网首页
hadoop - 常用命令

hadoop - 常用命令

作者: 静水流深ylyang | 来源:发表于2019-09-27 19:47 被阅读0次

启动NameNode
hadoop-daemon.sh start namenode
hdfs --daemon start namenode
关闭NameNode
hadoop-daemon.sh stop namenode
hdfs --daemon stop namenode

启动DataNode
hadoop-daemons.sh start datanode
hdfs --workers --daemon start datanode
关闭DataNode
hadoop-daemons.sh stop datanode
hdfs --workers --daemon stop datanode

启动SecondaryNameNode
hadoop-daemon.sh start secondarynamenode
hdfs --daemon start secondarynamenode
关闭SecondaryNameNode
hadoop-daemon.sh stop secondarynamenode
hdfs --daemon stop secondarynamenode

启动ResourceManager
yarn-daemon.sh start resourcemanager
yarn --daemon start resourcemanager
关闭ResourceManager
yarn-daemon.sh stop resourcemanager
yarn --daemon stop resourcemanager

启动NodeManager
yarn-daemons.sh start nodemanager
yarn --workers --daemon start nodemanager
关闭NodeManager
yarn-daemons.sh start nodemanager
yarn --workers --daemon start nodemanager

相关文章

网友评论

      本文标题:hadoop - 常用命令

      本文链接:https://www.haomeiwen.com/subject/fplauctx.html