程序包 | 说明 |
---|---|
org.apache.hadoop.hdfs.server.namenode |
限定符和类型 | 类和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
Copyright © 2009 The Apache Software Foundation