public class WorkloadDriver
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
AuditReplayMapper and CreateFileMapper) for information on
their specific behavior and parameters.| Modifier and Type | Field and Description |
|---|---|
static String |
MAPPER_CLASS_NAME |
static String |
NN_URI |
static String |
START_TIME_OFFSET |
static String |
START_TIME_OFFSET_DEFAULT |
static String |
START_TIMESTAMP_MS |
| Constructor and Description |
|---|
WorkloadDriver() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.mapreduce.Job |
getJobForSubmission(org.apache.hadoop.conf.Configuration baseConf,
String nnURI,
long startTimestampMs,
Class<? extends WorkloadMapper<?,?,?,?>> mapperClass) |
static void |
main(String[] args) |
int |
run(String[] args) |
public static final String START_TIMESTAMP_MS
public static final String START_TIME_OFFSET
public static final String START_TIME_OFFSET_DEFAULT
public static final String NN_URI
public static final String MAPPER_CLASS_NAME
public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionpublic static org.apache.hadoop.mapreduce.Job getJobForSubmission(org.apache.hadoop.conf.Configuration baseConf,
String nnURI,
long startTimestampMs,
Class<? extends WorkloadMapper<?,?,?,?>> mapperClass)
throws IOException,
InstantiationException,
IllegalAccessException
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.