From 1aa126ffd6bb4b898a54ed6ee1a38680fbafb299 Mon Sep 17 00:00:00 2001 From: zeekling Date: Thu, 25 Apr 2024 23:46:00 +0800 Subject: [PATCH] =?UTF-8?q?NM=E5=8D=8F=E8=AE=AE=E8=AF=A6=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hdfs/NamenodeProtocols详解.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 hdfs/NamenodeProtocols详解.md diff --git a/hdfs/NamenodeProtocols详解.md b/hdfs/NamenodeProtocols详解.md new file mode 100644 index 0000000..c7e1937 --- /dev/null +++ b/hdfs/NamenodeProtocols详解.md @@ -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 详解 + +