视频:【美妙人生】Hadoop课程系列之HDFS--手把手教你精通HDFS
【美妙人生】Hadoop课程系列之HDFS--手把手教你精通HDFS
【视频笔记】
BlockLocation代码跟踪
----------------------------------------------------------------------------------------
1.client-->[DistributedFileSystem.class]fs.getFileBlockLocations
-->[DistributedFileSystem.class]fs.getFileBlockLocations(重载)
-->[DFSClient.class]dfs.getBlockLocations
-->[DFSClient.class]getLocatedBlocks
-->[DFSClient.class]callGetBlockLocations
-->[Clientprotocol.class]getBlockLocations
-->[NameNodeRpcServer.class]getBlockLocations
-->[FSNamesystem.class]namesystem.getBlockLocations //FSNamesystem剑指namenode