Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type FSClusterStats |
static BlockPlacementPolicy |
BlockPlacementPolicy.getInstance(org.apache.hadoop.conf.Configuration conf,
FSClusterStats stats,
org.apache.hadoop.net.NetworkTopology clusterMap)
Get an instance of the configured Block Placement Policy based on the
value of the configuration paramater dfs.block.replicator.classname. |
protected abstract void |
BlockPlacementPolicy.initialize(org.apache.hadoop.conf.Configuration conf,
FSClusterStats stats,
org.apache.hadoop.net.NetworkTopology clusterMap)
Used to setup a BlockPlacementPolicy object. |
void |
BlockPlacementPolicyDefault.initialize(org.apache.hadoop.conf.Configuration conf,
FSClusterStats stats,
org.apache.hadoop.net.NetworkTopology clusterMap)
Used to setup a BlockPlacementPolicy object. |