【Hadoop】:Hadoop的启动与停止

1.启动NameNode:

hadoop-daemon.sh start namenode

 

2.启动DataNode:

hadoop-daemon.sh start datanode

 

3.启动Secondary DataNode:

hadoop-daemon.sh start secondarydatanode

 

4.停止某个Node:

hadoop-daemon.sh stop xxxx

即可

5.全部一起启动:

./sbin/start-dfs.sh

6.全部一起停止:

./sbin/stop-all.sh

 

Remark:

在hadoop当中,HDFS的意思是:Hadoop Distributed File System,也就是Hadoop分布式文件系统(HDFS)。

posted @ 2020-12-14 20:31  Geeksongs  阅读(371)  评论(0编辑  收藏  举报

Coded by Geeksongs on Linux

All rights reserved, no one is allowed to pirate or use the document for other purposes.