| 程序包 | 说明 |
|---|---|
| org.apache.hadoop.hdfs.server.namenode | |
| org.apache.hadoop.mapred |
A software framework for easily writing applications which process vast
amounts of data (multi-terabyte data-sets) parallelly on large clusters
(thousands of nodes) built of commodity hardware in a reliable, fault-tolerant
manner.
|
| org.apache.hadoop.net |
Network-related classes.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected NetworkTopology |
BlockPlacementPolicyDefault.clusterMap |
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
BlockPlacementPolicyWithNodeGroup.initialize(Configuration conf,
FSClusterStats stats,
NetworkTopology clusterMap) |
void |
BlockPlacementPolicyDefault.initialize(Configuration conf,
FSClusterStats stats,
NetworkTopology clusterMap)
Used to setup a BlockPlacementPolicy object.
|
protected abstract void |
BlockPlacementPolicy.initialize(Configuration conf,
FSClusterStats stats,
NetworkTopology clusterMap)
Used to setup a BlockPlacementPolicy object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
NetworkTopologyWithNodeGroup
The class extends NetworkTopology to represents a cluster of computer with
a 4-layers hierarchical network topology.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static NetworkTopology |
NetworkTopology.getInstance(Configuration conf)
Get an instance of NetworkTopology based on the value of the configuration
parameter net.topology.impl.
|
Copyright © 2009 The Apache Software Foundation