public class MRRSleepJob
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
numMappers * mapSleepTime / 100, so the job uses
some disk space.| Modifier and Type | Class and Description |
|---|---|
static class |
MRRSleepJob.EmptySplit |
static class |
MRRSleepJob.ISleepReducer |
static class |
MRRSleepJob.MRRSleepJobPartitioner |
static class |
MRRSleepJob.SleepInputFormat |
static class |
MRRSleepJob.SleepMapper |
static class |
MRRSleepJob.SleepReducer |
| Modifier and Type | Field and Description |
|---|---|
static String |
IREDUCE_SLEEP_COUNT |
static String |
IREDUCE_SLEEP_TIME |
static String |
IREDUCE_STAGES_COUNT |
static String |
IREDUCE_TASKS_COUNT |
static String |
MAP_ERROR_TASK_IDS |
static String |
MAP_FATAL_ERROR |
static String |
MAP_SLEEP_COUNT |
static String |
MAP_SLEEP_TIME |
static String |
MAP_THROW_ERROR |
static String |
REDUCE_SLEEP_COUNT |
static String |
REDUCE_SLEEP_TIME |
| Constructor and Description |
|---|
MRRSleepJob() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tez.dag.api.DAG |
createDAG(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path stagingDir,
int numMapper,
int numReducer,
int iReduceStagesCount,
int numIReducer,
long mapSleepTime,
int mapSleepCount,
long reduceSleepTime,
int reduceSleepCount,
long iReduceSleepTime,
int iReduceSleepCount,
boolean writeSplitsToDFS,
boolean generateSplitsInAM) |
org.apache.hadoop.mapreduce.Job |
createJob(int numMapper,
int numReducer,
int iReduceStagesCount,
int numIReducer,
long mapSleepTime,
int mapSleepCount,
long reduceSleepTime,
int reduceSleepCount,
long iReduceSleepTime,
int iReduceSleepCount) |
static void |
main(String[] args) |
int |
run(String[] args) |
public static final String MAP_SLEEP_COUNT
public static final String REDUCE_SLEEP_COUNT
public static final String MAP_SLEEP_TIME
public static final String REDUCE_SLEEP_TIME
public static final String IREDUCE_SLEEP_COUNT
public static final String IREDUCE_SLEEP_TIME
public static final String IREDUCE_STAGES_COUNT
public static final String IREDUCE_TASKS_COUNT
public static final String MAP_THROW_ERROR
public static final String MAP_FATAL_ERROR
public static final String MAP_ERROR_TASK_IDS
public org.apache.tez.dag.api.DAG createDAG(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path stagingDir,
int numMapper,
int numReducer,
int iReduceStagesCount,
int numIReducer,
long mapSleepTime,
int mapSleepCount,
long reduceSleepTime,
int reduceSleepCount,
long iReduceSleepTime,
int iReduceSleepCount,
boolean writeSplitsToDFS,
boolean generateSplitsInAM)
throws IOException,
org.apache.hadoop.yarn.exceptions.YarnException
IOExceptionorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.mapreduce.Job createJob(int numMapper,
int numReducer,
int iReduceStagesCount,
int numIReducer,
long mapSleepTime,
int mapSleepCount,
long reduceSleepTime,
int reduceSleepCount,
long iReduceSleepTime,
int iReduceSleepCount)
throws IOException
IOExceptionCopyright © 2020 Apache Software Foundation. All rights reserved.