NM协议详解

This commit is contained in:
LingZhaoHui 2024-04-25 23:46:00 +08:00
parent b5700d9100
commit 1aa126ffd6
Signed by: zeekling
GPG Key ID: D96E4E75267CA2CC
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
## NameNode客户端协议详解
协议的定义主要在类NamenodeProtocols中。如下
```java
public interface NamenodeProtocols
extends ClientProtocol,
DatanodeProtocol,
DatanodeLifelineProtocol,
NamenodeProtocol,
RefreshAuthorizationPolicyProtocol,
ReconfigurationProtocol,
RefreshUserMappingsProtocol,
RefreshCallQueueProtocol,
GenericRefreshProtocol,
GetUserMappingsProtocol,
HAServiceProtocol {
}
```
其中NameNode相关的大多数在NamenodeProtocol当中。
### NamenodeProtocol 详解