Class BlockECReconstructionCommand.BlockECReconstructionInfo
java.lang.Object
org.apache.hadoop.hdfs.server.protocol.BlockECReconstructionCommand.BlockECReconstructionInfo
- Enclosing class:
- BlockECReconstructionCommand
@Private
@Evolving
public static class BlockECReconstructionCommand.BlockECReconstructionInfo
extends Object
Block and targets pair
-
Constructor Summary
ConstructorsConstructorDescriptionBlockECReconstructionInfo(org.apache.hadoop.hdfs.protocol.ExtendedBlock block, org.apache.hadoop.hdfs.protocol.DatanodeInfo[] sources, org.apache.hadoop.hdfs.protocol.DatanodeInfo[] targets, String[] targetStorageIDs, org.apache.hadoop.fs.StorageType[] targetStorageTypes, byte[] liveBlockIndices, byte[] excludeReconstructedIndices, org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy ecPolicy) BlockECReconstructionInfo(org.apache.hadoop.hdfs.protocol.ExtendedBlock block, org.apache.hadoop.hdfs.protocol.DatanodeInfo[] sources, DatanodeStorageInfo[] targetDnStorageInfo, byte[] liveBlockIndices, byte[] excludeReconstructedIndices, org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy ecPolicy) -
Method Summary
-
Constructor Details
-
BlockECReconstructionInfo
public BlockECReconstructionInfo(org.apache.hadoop.hdfs.protocol.ExtendedBlock block, org.apache.hadoop.hdfs.protocol.DatanodeInfo[] sources, DatanodeStorageInfo[] targetDnStorageInfo, byte[] liveBlockIndices, byte[] excludeReconstructedIndices, org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy ecPolicy) -
BlockECReconstructionInfo
public BlockECReconstructionInfo(org.apache.hadoop.hdfs.protocol.ExtendedBlock block, org.apache.hadoop.hdfs.protocol.DatanodeInfo[] sources, org.apache.hadoop.hdfs.protocol.DatanodeInfo[] targets, String[] targetStorageIDs, org.apache.hadoop.fs.StorageType[] targetStorageTypes, byte[] liveBlockIndices, byte[] excludeReconstructedIndices, org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy ecPolicy)
-
-
Method Details
-
getExtendedBlock
public org.apache.hadoop.hdfs.protocol.ExtendedBlock getExtendedBlock() -
getSourceDnInfos
public org.apache.hadoop.hdfs.protocol.DatanodeInfo[] getSourceDnInfos() -
getTargetDnInfos
public org.apache.hadoop.hdfs.protocol.DatanodeInfo[] getTargetDnInfos() -
getTargetStorageIDs
-
getTargetStorageTypes
public org.apache.hadoop.fs.StorageType[] getTargetStorageTypes() -
getLiveBlockIndices
public byte[] getLiveBlockIndices() -
getExcludeReconstructedIndices
public byte[] getExcludeReconstructedIndices() -
getErasureCodingPolicy
public org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy getErasureCodingPolicy() -
toString
-