Package | Description |
---|---|
org.apache.hadoop.hdfs.server.blockmanagement | |
org.apache.hadoop.hdfs.server.namenode |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
BlockPlacementPolicyDefault.initialize(Configuration conf,
FSClusterStats stats,
NetworkTopology clusterMap) |
protected abstract void |
BlockPlacementPolicy.initialize(Configuration conf,
FSClusterStats stats,
NetworkTopology clusterMap)
Used to setup a BlockPlacementPolicy object.
|
void |
BlockPlacementPolicyWithNodeGroup.initialize(Configuration conf,
FSClusterStats stats,
NetworkTopology clusterMap) |
Constructor and Description |
---|
BlockManager(Namesystem namesystem,
FSClusterStats stats,
Configuration conf) |
Modifier and Type | Class and Description |
---|---|
class |
FSNamesystem
FSNamesystem does the actual bookkeeping work for the
DataNode.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.