程序包 | 说明 |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.protocol |
限定符和类型 | 方法和说明 |
---|---|
BlocksWithLocations |
NameNode.getBlocks(DatanodeInfo datanode,
long size)
return a list of blocks & their locations on
datanode whose
total size is size |
限定符和类型 | 方法和说明 |
---|---|
BlocksWithLocations |
NamenodeProtocol.getBlocks(DatanodeInfo datanode,
long size)
Get a list of blocks belonged to
datanode
whose total size is equal to size |
Copyright © 2009 The Apache Software Foundation