Package org.apache.hadoop.hdfs.protocol
Class StripedBlockInfo
java.lang.Object
org.apache.hadoop.hdfs.protocol.StripedBlockInfo
Striped block info that can be sent elsewhere to do block group level things,
like checksum, and etc.
-
Constructor Summary
ConstructorsConstructorDescriptionStripedBlockInfo(ExtendedBlock block, DatanodeInfo[] datanodes, org.apache.hadoop.security.token.Token<BlockTokenIdentifier>[] blockTokens, byte[] blockIndices, ErasureCodingPolicy ecPolicy) -
Method Summary
Modifier and TypeMethodDescriptiongetBlock()byte[]org.apache.hadoop.security.token.Token<BlockTokenIdentifier>[]
-
Constructor Details
-
StripedBlockInfo
public StripedBlockInfo(ExtendedBlock block, DatanodeInfo[] datanodes, org.apache.hadoop.security.token.Token<BlockTokenIdentifier>[] blockTokens, byte[] blockIndices, ErasureCodingPolicy ecPolicy)
-
-
Method Details
-
getBlock
-
getDatanodes
-
getBlockTokens
-
getBlockIndices
public byte[] getBlockIndices() -
getErasureCodingPolicy
-