org.apache.hadoop.tools.rumen
Class ZombieCluster
java.lang.Object
org.apache.hadoop.tools.rumen.AbstractClusterStory
org.apache.hadoop.tools.rumen.ZombieCluster
- All Implemented Interfaces:
- ClusterStory
public class ZombieCluster
- extends AbstractClusterStory
ZombieCluster
rebuilds the cluster topology using the information
obtained from job history logs.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZombieCluster
public ZombieCluster(LoggedNetworkTopology topology,
MachineNode defaultNode)
- Construct a homogeneous cluster. We assume that the leaves on the topology
are
MachineNode
s, and the parents of MachineNode
s are
RackNode
s. We also expect all leaf nodes are on the same level.
- Parameters:
topology
- The network topology.defaultNode
- The default node setting.
ZombieCluster
public ZombieCluster(org.apache.hadoop.fs.Path path,
MachineNode defaultNode,
org.apache.hadoop.conf.Configuration conf)
throws IOException
- Construct a homogeneous cluster. We assume that the leaves on the topology
are
MachineNode
s, and the parents of MachineNode
s are
RackNode
s. We also expect all leaf nodes are on the same level.
- Parameters:
path
- Path to the JSON-encoded topology file.conf
- defaultNode
- The default node setting.
- Throws:
IOException
ZombieCluster
public ZombieCluster(InputStream input,
MachineNode defaultNode)
throws IOException
- Construct a homogeneous cluster. We assume that the leaves on the topology
are
MachineNode
s, and the parents of MachineNode
s are
RackNode
s. We also expect all leaf nodes are on the same level.
- Parameters:
input
- The input stream for the JSON-encoded topology file.defaultNode
- The default node setting.
- Throws:
IOException
getClusterTopology
public Node getClusterTopology()
- Description copied from interface:
ClusterStory
- Get the cluster topology tree.
- Returns:
- The root node of the cluster topology tree.
Copyright © 2009 The Apache Software Foundation