【Hadoop】NameNode客戶(hù)端協(xié)議詳解
NameNode客戶(hù)端協(xié)議詳解 協(xié)議的定義主要在類(lèi)NamenodeProtocols中。如下: public interface NamenodeProtocols extends ClientProtocol, DatanodeProtocol, DatanodeLifelineProtocol, NamenodeProtocol, RefreshAuthorizationPolicyProtocol, ReconfigurationProtocol, RefreshUserMappingsProtocol, RefreshCallQueueProtocol, GenericRefreshProtocol, GetUserMappingsProtocol, HAServiceProtocol { } 根據交互對象的不同,將協(xié)議進(jìn)行了不同的歸類(lèi)。要想了解協(xié)議內容,需要將其單獨分開(kāi)分析。 NamenodeProtocol 詳解 BlocksWithLocations getBlocks(DatanodeInfo datanode, long size, long minBlockSiz....