Package | Description |
---|---|
org.apache.hadoop.hdfs.server.blockmanagement | |
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.snapshot |
Modifier and Type | Interface and Description |
---|---|
interface |
MutableBlockCollection
This interface is used by the block manager to expose a
few characteristics of a collection of Block/BlockUnderConstruction.
|
Modifier and Type | Method and Description |
---|---|
BlockCollection |
BlockInfo.getBlockCollection() |
BlockCollection |
BlockManager.getBlockCollection(Block b) |
Modifier and Type | Method and Description |
---|---|
BlockInfo |
BlockManager.addBlockCollection(BlockInfo block,
BlockCollection bc) |
void |
BlockManager.checkReplication(BlockCollection bc)
Check replication of the blocks in the collection.
|
DatanodeDescriptor |
BlockPlacementPolicyDefault.chooseReplicaToDelete(BlockCollection bc,
Block block,
short replicationFactor,
Collection<DatanodeDescriptor> first,
Collection<DatanodeDescriptor> second) |
abstract DatanodeDescriptor |
BlockPlacementPolicy.chooseReplicaToDelete(BlockCollection srcBC,
Block block,
short replicationFactor,
Collection<DatanodeDescriptor> existingReplicas,
Collection<DatanodeDescriptor> moreExistingReplicas)
Decide whether deleting the specified replica of the block still makes
the block conform to the configured block placement policy.
|
void |
BlockInfo.setBlockCollection(BlockCollection bc) |
Modifier and Type | Class and Description |
---|---|
class |
INodeFile
I-node for closed file.
|
class |
INodeFileUnderConstruction
I-node for file being written.
|
Modifier and Type | Class and Description |
---|---|
class |
INodeFileUnderConstructionWithSnapshot
Represent an
INodeFileUnderConstruction that is snapshotted. |
class |
INodeFileWithSnapshot
Represent an
INodeFile that is snapshotted. |
Copyright © 2013 Apache Software Foundation. All rights reserved.