EMPTY_ARRAY, triplets| Constructor | Description |
|---|---|
BlockInfoContiguous(short size) |
|
BlockInfoContiguous(org.apache.hadoop.hdfs.protocol.Block blk,
short size) |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.hdfs.protocol.BlockType |
getBlockType() |
|
boolean |
isStriped() |
|
int |
numNodes() |
Count the number of data-nodes the block currently belongs to (i.e., NN
has received block reports from the DN).
|
convertToBlockUnderConstruction, delete, equals, getBlockCollectionId, getBlockUCState, getCapacity, getDatanode, getNext, getReplication, getStorageInfos, getUnderConstructionFeature, hashCode, isComplete, isCompleteOrCommitted, isDeleted, isUnderRecovery, moveBlockToHead, setBlockCollectionId, setGenerationStampAndVerifyReplicas, setNext, setReplicationappendStringTo, compareTo, filename2id, getBlockId, getBlockId, getBlockName, getGenerationStamp, getGenerationStamp, getNumBytes, isBlockFilename, isMetaFilename, matchingIdAndGenStamp, metaToBlockFile, readFields, readId, set, setBlockId, setGenerationStamp, setNumBytes, toString, toString, write, writeIdpublic BlockInfoContiguous(short size)
public BlockInfoContiguous(org.apache.hadoop.hdfs.protocol.Block blk,
short size)
public int numNodes()
BlockInfopublic org.apache.hadoop.hdfs.protocol.BlockType getBlockType()
getBlockType in class BlockInfoCopyright © 2008–2025 Apache Software Foundation. All rights reserved.