Uses of Class org.apache.hadoop.hdfs.server.protocol.DatanodeCommand (Apache Hadoop HDFS 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs.server.protocol, class: DatanodeCommand

# Uses of Class
org.apache.hadoop.hdfs.server.protocol.DatanodeCommand

Packages that use DatanodeCommand
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

- ## Uses of DatanodeCommand in org.apache.hadoop.hdfs.protocolPB

  Methods in org.apache.hadoop.hdfs.protocolPB that return DatanodeCommand
  Modifier and Type
  Method
  Description
  `DatanodeCommand`
  DatanodeProtocolClientSideTranslatorPB.`blockReport(DatanodeRegistration registration, String poolId, StorageBlockReport[] reports, BlockReportContext context)`
  `DatanodeCommand`
  DatanodeProtocolClientSideTranslatorPB.`cacheReport(DatanodeRegistration registration, String poolId, List<Long> blockIds)`
  `static DatanodeCommand`
  PBHelper.`convert(org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.DatanodeCommandProto proto)`
  Methods in org.apache.hadoop.hdfs.protocolPB with parameters of type DatanodeCommand
  Modifier and Type
  Method
  Description
  `static org.apache.hadoop.hdfs.protocol.proto.DatanodeProtocolProtos.DatanodeCommandProto`
  PBHelper.`convert(DatanodeCommand datanodeCommand)`

- ## Uses of DatanodeCommand in org.apache.hadoop.hdfs.server.blockmanagement

  Methods in org.apache.hadoop.hdfs.server.blockmanagement that return DatanodeCommand
  Modifier and Type
  Method
  Description
  `DatanodeCommand[]`
  DatanodeManager.`handleHeartbeat(DatanodeRegistration nodeReg, org.apache.hadoop.hdfs.server.protocol.StorageReport[] reports, 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.

- ## Uses of DatanodeCommand in org.apache.hadoop.hdfs.server.namenode

  Methods in org.apache.hadoop.hdfs.server.namenode that return DatanodeCommand
  Modifier and Type
  Method
  Description
  `DatanodeCommand`
  NameNodeRpcServer.`blockReport(DatanodeRegistration nodeReg, String poolId, StorageBlockReport[] reports, BlockReportContext context)`
  `DatanodeCommand`
  NameNodeRpcServer.`cacheReport(DatanodeRegistration nodeReg, String poolId, List<Long> blockIds)`

- ## Uses of DatanodeCommand in org.apache.hadoop.hdfs.server.protocol

  Subclasses of DatanodeCommand in org.apache.hadoop.hdfs.server.protocol
  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.
  Fields in org.apache.hadoop.hdfs.server.protocol declared as DatanodeCommand
  Modifier and Type
  Field
  Description
  `static final DatanodeCommand`
  RegisterCommand.`REGISTER`
  Methods in org.apache.hadoop.hdfs.server.protocol that return DatanodeCommand
  Modifier and Type
  Method
  Description
  `DatanodeCommand`
  DatanodeProtocol.`blockReport(DatanodeRegistration registration, String poolId, StorageBlockReport[] reports, BlockReportContext context)`
  blockReport() tells the NameNode about all the locally-stored blocks.
  `DatanodeCommand`
  DatanodeProtocol.`cacheReport(DatanodeRegistration registration, String poolId, List<Long> blockIds)`
  Communicates the complete list of locally cached blocks to the NameNode.
  `DatanodeCommand[]`
  HeartbeatResponse.`getCommands()`
  Constructors in org.apache.hadoop.hdfs.server.protocol with parameters of type DatanodeCommand
  Modifier
  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)`