public static class PerformanceEvaluation.EvaluationMapTask extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,PerformanceEvaluation.PeInputSplit,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>
Modifier and Type | Field and Description |
---|---|
private Class<? extends PerformanceEvaluation.Test> |
cmd |
static String |
CMD_KEY
configuration parameter name that contains the command
|
private PerformanceEvaluation |
pe |
static String |
PE_KEY
configuration parameter name that contains the PE impl
|
Constructor and Description |
---|
EvaluationMapTask() |
Modifier and Type | Method and Description |
---|---|
private <Type> Class<? extends Type> |
forName(String className,
Class<Type> type) |
protected void |
map(org.apache.hadoop.io.NullWritable key,
PerformanceEvaluation.PeInputSplit value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
public static final String CMD_KEY
public static final String PE_KEY
private Class<? extends PerformanceEvaluation.Test> cmd
private PerformanceEvaluation pe
public EvaluationMapTask()
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
setup
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,PerformanceEvaluation.PeInputSplit,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>
protected void map(org.apache.hadoop.io.NullWritable key, PerformanceEvaluation.PeInputSplit value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,PerformanceEvaluation.PeInputSplit,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.