NM协议详解

This commit is contained in:
LingZhaoHui 2024-04-25 23:52:37 +08:00
parent 1aa126ffd6
commit 19c3c2b475
Signed by: zeekling
GPG Key ID: D96E4E75267CA2CC
1 changed files with 13 additions and 1 deletions

View File

@ -18,8 +18,20 @@ public interface NamenodeProtocols
HAServiceProtocol {
}
```
其中NameNode相关的大多数在NamenodeProtocol当中。
根据交互对象的不同,将协议进行了不同的归类。要想了解协议内容,需要将其单独分开分析。
### NamenodeProtocol 详解
当前协议主要是备NameNode和主NameNode之间的通信协议。
### DatanodeProtocol
DataNode和NameNode之间的协议。
### DatanodeLifelineProtocol
DN和NN之间心跳协议。