public class SynthTraceJobProducer extends Object implements org.apache.hadoop.tools.rumen.JobStoryProducer
| Modifier and Type | Class and Description |
|---|---|
static class |
SynthTraceJobProducer.JobDefinition
Class used to parse a job class from file.
|
static class |
SynthTraceJobProducer.Sample
Class used to parse value sample information.
|
static class |
SynthTraceJobProducer.TaskDefinition
A task representing a type of container - e.g.
|
static class |
SynthTraceJobProducer.TimeSample
This is used to define time-varying probability of a job start-time (e.g.,
to simulate daily patterns).
|
static class |
SynthTraceJobProducer.Trace
Class used to parse a trace configuration file.
|
static class |
SynthTraceJobProducer.Workload
Class used to parse a workload from file.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SLS_SYNTHETIC_TRACE_FILE |
| Constructor and Description |
|---|
SynthTraceJobProducer(org.apache.hadoop.conf.Configuration conf) |
SynthTraceJobProducer(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path path) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.hadoop.tools.rumen.JobStory |
getNextJob() |
int |
getNodesPerRack() |
int |
getNumJobs() |
int |
getNumNodes() |
long |
getSeed() |
String |
toString() |
public static final String SLS_SYNTHETIC_TRACE_FILE
public SynthTraceJobProducer(org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionpublic SynthTraceJobProducer(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path path)
throws IOException
IOExceptionpublic org.apache.hadoop.tools.rumen.JobStory getNextJob()
throws IOException
getNextJob in interface org.apache.hadoop.tools.rumen.JobStoryProducerIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic int getNumJobs()
public long getSeed()
public int getNodesPerRack()
public int getNumNodes()
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.