Package | Description |
---|---|
org.apache.hadoop.hdfs.server.blockmanagement | |
org.apache.hadoop.mapred | |
org.apache.hadoop.net |
Network-related classes.
|
Modifier and Type | Field and Description |
---|---|
protected NetworkTopology |
BlockPlacementPolicyDefault.clusterMap |
Modifier and Type | Method and Description |
---|---|
NetworkTopology |
DatanodeManager.getNetworkTopology() |
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) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
FileInputFormat.getSplitHosts(BlockLocation[] blkLocations,
long offset,
long splitSize,
NetworkTopology clusterMap)
This function identifies and returns the hosts that contribute
most for a given split.
|
Modifier and Type | Class and Description |
---|---|
class |
NetworkTopologyWithNodeGroup
The class extends NetworkTopology to represents a cluster of computer with
a 4-layers hierarchical network topology.
|
Modifier and Type | Method and Description |
---|---|
static NetworkTopology |
NetworkTopology.getInstance(Configuration conf)
Get an instance of NetworkTopology based on the value of the configuration
parameter net.topology.impl.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.