ClusterStorypublic class ZombieCluster extends AbstractClusterStory
ZombieCluster rebuilds the cluster topology using the information
obtained from job history logs.machineNodes, maximumDistance, mNodeMap, mNodesFlattened, rackNodes, rNodeMap| Constructor | Description |
|---|---|
ZombieCluster(java.io.InputStream input,
MachineNode defaultNode) |
Construct a homogeneous cluster.
|
ZombieCluster(org.apache.hadoop.fs.Path path,
MachineNode defaultNode,
org.apache.hadoop.conf.Configuration conf) |
Construct a homogeneous cluster.
|
ZombieCluster(LoggedNetworkTopology topology,
MachineNode defaultNode) |
Construct a homogeneous cluster.
|
| Modifier and Type | Method | Description |
|---|---|---|
Node |
getClusterTopology() |
Get the cluster topology tree.
|
buildMachineNodeMap, buildRackNodeMap, distance, getMachineByName, getMachines, getMaximumDistance, getRackByName, getRacks, getRandomMachines, parseTopologyTreepublic ZombieCluster(LoggedNetworkTopology topology, MachineNode defaultNode)
MachineNodes, and the parents of MachineNodes are
RackNodes. We also expect all leaf nodes are on the same level.topology - The network topology.defaultNode - The default node setting.public ZombieCluster(org.apache.hadoop.fs.Path path,
MachineNode defaultNode,
org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
MachineNodes, and the parents of MachineNodes are
RackNodes. We also expect all leaf nodes are on the same level.path - Path to the JSON-encoded topology file.conf - defaultNode - The default node setting.java.io.IOExceptionpublic ZombieCluster(java.io.InputStream input,
MachineNode defaultNode)
throws java.io.IOException
MachineNodes, and the parents of MachineNodes are
RackNodes. We also expect all leaf nodes are on the same level.input - The input stream for the JSON-encoded topology file.defaultNode - The default node setting.java.io.IOExceptionpublic Node getClusterTopology()
ClusterStoryCopyright © 2008–2025 Apache Software Foundation. All rights reserved.