| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.blockmanagement | |
| org.apache.hadoop.hdfs.server.namenode |
| Modifier and Type | Method and Description |
|---|---|
BlockInfoUnderConstruction |
BlockInfo.convertToBlockUnderConstruction(HdfsServerConstants.BlockUCState s,
DatanodeDescriptor[] targets)
Convert a complete block to an under construction block.
|
BlockInfoUnderConstruction[] |
DatanodeDescriptor.getLeaseRecoveryCommand(int maxTransfers) |
BlockInfoUnderConstruction |
MutableBlockCollection.setLastBlock(BlockInfo lastBlock,
DatanodeDescriptor[] locations)
Convert the last block of the collection to an under-construction block
and set the locations.
|
| Modifier and Type | Method and Description |
|---|---|
BlockInfo |
BlockManager.forceCompleteBlock(MutableBlockCollection bc,
BlockInfoUnderConstruction block)
Force the given block in the given file to be marked as complete,
regardless of whether enough replicas are present.
|
| Modifier and Type | Method and Description |
|---|---|
BlockInfoUnderConstruction |
INodeFileUnderConstruction.setLastBlock(BlockInfo lastBlock,
DatanodeDescriptor[] targets)
Convert the last block of the file to an under-construction block.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.