1:
sbin/start-all.sh
hdfssbin/start-dfs.sh yarnsbin/start-yarn.sh
sbin/stop-all.sh
2 namenodebin/hdfs namenode !-
format
3 Hadoop
1HadoopHadoop
,
2
3MapReduceHadoop
4
1Hadoop
2Hadoop
3Hadoop
4HDFS
5hadoop
Namenode:jobClientblock
datanode
SecondaryNameNode:namenode
Datanodenamenodenamenode
Block
ResourceManageryarnresourceManager
NodeManageryarnhadoop
resourcesManagerContainer
Container
6 HDFS
1. client RPC NameNode NameNode
2. client block DataNode
3. NameNode
DataNode ABC
4. client 3 DataNode A RPC