| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.protocolPB |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.hdfs.server.balancer | |
| org.apache.hadoop.hdfs.server.blockmanagement | |
| org.apache.hadoop.hdfs.server.namenode | |
| org.apache.hadoop.hdfs.server.protocol |
| Modifier and Type | Method | Description |
|---|---|---|
static BlocksWithLocations |
PBHelper.convert(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.BlocksWithLocationsProto blocks) |
|
BlocksWithLocations |
NamenodeProtocolTranslatorPB.getBlocks(org.apache.hadoop.hdfs.protocol.DatanodeInfo datanode,
long size,
long minBlockSize,
long timeInterval,
org.apache.hadoop.fs.StorageType storageType) |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.BlocksWithLocationsProto |
PBHelper.convert(BlocksWithLocations blks) |
| Modifier and Type | Method | Description |
|---|---|---|
BlocksWithLocations |
NameNodeConnector.getBlocks(org.apache.hadoop.hdfs.protocol.DatanodeInfo datanode,
long size,
long minBlockSize,
long timeInterval,
org.apache.hadoop.fs.StorageType storageType) |
| Modifier and Type | Method | Description |
|---|---|---|
BlocksWithLocations |
BlockManager.getBlocksWithLocations(org.apache.hadoop.hdfs.protocol.DatanodeID datanode,
long size,
long minBlockSize,
long timeInterval,
org.apache.hadoop.fs.StorageType storageType) |
Get all blocks with location information from a datanode.
|
| Modifier and Type | Method | Description |
|---|---|---|
BlocksWithLocations |
FSNamesystem.getBlocks(org.apache.hadoop.hdfs.protocol.DatanodeID datanode,
long size,
long minimumBlockSize,
long timeInterval,
org.apache.hadoop.fs.StorageType storageType) |
return a list of blocks & their locations on
datanode whose
total size is size |
BlocksWithLocations |
NameNodeRpcServer.getBlocks(org.apache.hadoop.hdfs.protocol.DatanodeInfo datanode,
long size,
long minBlockSize,
long timeInterval,
org.apache.hadoop.fs.StorageType storageType) |
| Modifier and Type | Method | Description |
|---|---|---|
BlocksWithLocations |
NamenodeProtocol.getBlocks(org.apache.hadoop.hdfs.protocol.DatanodeInfo datanode,
long size,
long minBlockSize,
long hotBlockTimeInterval,
org.apache.hadoop.fs.StorageType storageType) |
Get a list of blocks belonging to
datanode
whose total size equals size. |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.