hadoop_book/hdfs/NamenodeProtocols详解.md
2024-04-25 23:46:00 +08:00

26 lines
610 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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