NM协议详解
This commit is contained in:
parent
b5700d9100
commit
1aa126ffd6
25
hdfs/NamenodeProtocols详解.md
Normal file
25
hdfs/NamenodeProtocols详解.md
Normal 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 详解
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user