Package | Description |
---|---|
org.apache.hadoop.hdfs.server.blockmanagement |
Modifier and Type | Class and Description |
---|---|
class |
BlockPlacementPolicyDefault
The class is responsible for choosing the desired number of targets
for placing block replicas.
|
class |
BlockPlacementPolicyWithNodeGroup
The class is responsible for choosing the desired number of targets
for placing block replicas on environment with node-group layer.
|
Modifier and Type | Method and Description |
---|---|
BlockPlacementPolicy |
BlockManager.getBlockPlacementPolicy() |
static BlockPlacementPolicy |
BlockPlacementPolicy.getInstance(Configuration conf,
FSClusterStats stats,
NetworkTopology clusterMap)
Get an instance of the configured Block Placement Policy based on the
value of the configuration paramater dfs.block.replicator.classname.
|
Modifier and Type | Method and Description |
---|---|
void |
BlockManager.setBlockPlacementPolicy(BlockPlacementPolicy newpolicy)
Set BlockPlacementPolicy
|
Copyright © 2013 Apache Software Foundation. All rights reserved.