| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.protocolPB | |
| org.apache.hadoop.hdfs.server.blockmanagement | |
| org.apache.hadoop.hdfs.server.protocol |
| Modifier and Type | Method and Description |
|---|---|
static BlocksWithLocations |
PBHelper.convert(HdfsProtos.BlocksWithLocationsProto blocks) |
BlocksWithLocations |
NamenodeProtocolTranslatorPB.getBlocks(DatanodeInfo datanode,
long size) |
| Modifier and Type | Method and Description |
|---|---|
static HdfsProtos.BlocksWithLocationsProto |
PBHelper.convert(BlocksWithLocations blks) |
| Modifier and Type | Method and Description |
|---|---|
BlocksWithLocations |
BlockManager.getBlocks(DatanodeID datanode,
long size)
return a list of blocks & their locations on
datanode whose
total size is size |
| Modifier and Type | Method and Description |
|---|---|
BlocksWithLocations |
NamenodeProtocol.getBlocks(DatanodeInfo datanode,
long size)
Get a list of blocks belonging to
datanode
whose total size equals size. |
Copyright © 2013 Apache Software Foundation. All rights reserved.