| 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.blockmanagement | |
| org.apache.hadoop.hdfs.server.namenode | |
| org.apache.hadoop.hdfs.server.protocol |
| Modifier and Type | Method | Description |
|---|---|---|
DatanodeCommand |
DatanodeProtocolClientSideTranslatorPB.blockReport(DatanodeRegistration registration,
java.lang.String poolId,
StorageBlockReport[] reports,
BlockReportContext context) |
|
DatanodeCommand |
DatanodeProtocolClientSideTranslatorPB.cacheReport(DatanodeRegistration registration,
java.lang.String poolId,
java.util.List<java.lang.Long> blockIds) |
|
static DatanodeCommand |
PBHelper.convert(org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.DatanodeCommandProto proto) |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.DatanodeCommandProto |
PBHelper.convert(DatanodeCommand datanodeCommand) |
| Modifier and Type | Method | Description |
|---|---|---|
DatanodeCommand[] |
DatanodeManager.handleHeartbeat(DatanodeRegistration nodeReg,
org.apache.hadoop.hdfs.server.protocol.StorageReport[] reports,
java.lang.String blockPoolId,
long cacheCapacity,
long cacheUsed,
int xceiverCount,
int xmitsInProgress,
int failedVolumes,
VolumeFailureSummary volumeFailureSummary,
org.apache.hadoop.hdfs.server.protocol.SlowPeerReports slowPeers,
org.apache.hadoop.hdfs.server.protocol.SlowDiskReports slowDisks) |
Handle heartbeat from datanodes.
|
| Modifier and Type | Method | Description |
|---|---|---|
DatanodeCommand |
NameNodeRpcServer.blockReport(DatanodeRegistration nodeReg,
java.lang.String poolId,
StorageBlockReport[] reports,
BlockReportContext context) |
|
DatanodeCommand |
NameNodeRpcServer.cacheReport(DatanodeRegistration nodeReg,
java.lang.String poolId,
java.util.List<java.lang.Long> blockIds) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
BalancerBandwidthCommand |
Balancer bandwidth command instructs each datanode to change its value for
the max amount of network bandwidth it may use during the block balancing
operation.
|
class |
BlockCommand |
A BlockCommand is an instruction to a datanode
regarding some blocks under its control.
|
class |
BlockECReconstructionCommand |
A BlockECReconstructionCommand is an instruction to a DataNode to
reconstruct a striped block group with missing blocks.
|
class |
BlockIdCommand |
A BlockIdCommand is an instruction to a datanode
regarding some blocks under its control.
|
class |
BlockRecoveryCommand |
BlockRecoveryCommand is an instruction to a data-node to recover
the specified blocks.
|
class |
BlockStorageMovementCommand |
A BlockStorageMovementCommand is an instruction to a DataNode to move the
given set of blocks to specified target DataNodes to fulfill the block
storage policy.
|
class |
DropSPSWorkCommand |
A DropSPSWorkCommand is an instruction to a datanode to drop the SPSWorker's
pending block storage movement queues.
|
class |
FinalizeCommand |
A BlockCommand is an instruction to a datanode to register with the namenode.
|
class |
KeyUpdateCommand |
|
class |
RegisterCommand |
A RegisterCommand is an instruction to a datanode to register with the namenode.
|
| Modifier and Type | Field | Description |
|---|---|---|
static DatanodeCommand |
RegisterCommand.REGISTER |
| Modifier and Type | Method | Description |
|---|---|---|
DatanodeCommand |
DatanodeProtocol.blockReport(DatanodeRegistration registration,
java.lang.String poolId,
StorageBlockReport[] reports,
BlockReportContext context) |
blockReport() tells the NameNode about all the locally-stored blocks.
|
DatanodeCommand |
DatanodeProtocol.cacheReport(DatanodeRegistration registration,
java.lang.String poolId,
java.util.List<java.lang.Long> blockIds) |
Communicates the complete list of locally cached blocks to the NameNode.
|
DatanodeCommand[] |
HeartbeatResponse.getCommands() |
| Constructor | Description |
|---|---|
HeartbeatResponse(DatanodeCommand[] cmds,
NNHAStatusHeartbeat haStatus,
org.apache.hadoop.hdfs.protocol.RollingUpgradeStatus rollingUpdateStatus,
long fullBlockReportLeaseId) |
|
HeartbeatResponse(DatanodeCommand[] cmds,
NNHAStatusHeartbeat haStatus,
org.apache.hadoop.hdfs.protocol.RollingUpgradeStatus rollingUpdateStatus,
long fullBlockReportLeaseId,
boolean isSlownode) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.