|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.tools.rumen.ZombieJobProducer
public class ZombieJobProducer
Producing JobStory
s from job trace.
Constructor Summary | |
---|---|
ZombieJobProducer(InputStream input,
ZombieCluster cluster)
Constructor |
|
ZombieJobProducer(InputStream input,
ZombieCluster cluster,
long randomSeed)
Constructor |
|
ZombieJobProducer(org.apache.hadoop.fs.Path path,
ZombieCluster cluster,
org.apache.hadoop.conf.Configuration conf)
Constructor |
|
ZombieJobProducer(org.apache.hadoop.fs.Path path,
ZombieCluster cluster,
org.apache.hadoop.conf.Configuration conf,
long randomSeed)
Constructor |
Method Summary | |
---|---|
void |
close()
|
ZombieJob |
getNextJob()
Get the next job. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZombieJobProducer(org.apache.hadoop.fs.Path path, ZombieCluster cluster, org.apache.hadoop.conf.Configuration conf) throws IOException
path
- Path to the JSON trace file, possibly compressed.cluster
- The topology of the cluster that corresponds to the jobs in the
trace. The argument can be null if we do not have knowledge of the
cluster topology.conf
-
IOException
public ZombieJobProducer(org.apache.hadoop.fs.Path path, ZombieCluster cluster, org.apache.hadoop.conf.Configuration conf, long randomSeed) throws IOException
path
- Path to the JSON trace file, possibly compressed.cluster
- The topology of the cluster that corresponds to the jobs in the
trace. The argument can be null if we do not have knowledge of the
cluster topology.conf
- randomSeed
- use a deterministic seed.
IOException
public ZombieJobProducer(InputStream input, ZombieCluster cluster) throws IOException
input
- The input stream for the JSON trace.cluster
- The topology of the cluster that corresponds to the jobs in the
trace. The argument can be null if we do not have knowledge of the
cluster topology.
IOException
public ZombieJobProducer(InputStream input, ZombieCluster cluster, long randomSeed) throws IOException
input
- The input stream for the JSON trace.cluster
- The topology of the cluster that corresponds to the jobs in the
trace. The argument can be null if we do not have knowledge of the
cluster topology.randomSeed
- use a deterministic seed.
IOException
Method Detail |
---|
public ZombieJob getNextJob() throws IOException
JobStoryProducer
getNextJob
in interface JobStoryProducer
IOException
public void close() throws IOException
close
in interface Closeable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |