Start and stop Hadoop

Start Hadoop:

start-dfs.sh
start-yarn.sh

Stop Hadoop

stop-dfs.sh
stop-yarn.sh

Or below command start all:

start-all.sh

One command to stop all:

stop-all.sh
To check Hadoop instance, run:
jps
1
4992 SecondaryNameNode
2
4517 NameNode
3
5179 ResourceManager
4
4700 DataNode
5
5532 NodeManager
6
59982 jps
Copied!
This Hadoop instance has 5 java processes:
yarn processes:
NodeManager
ResourceManager
NameNode, SecondaryNameNode are name node, which is master node
DataNode
Last modified 1yr ago