public static class PerformanceEvaluation.EvaluationMapTask extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,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
|
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.LongWritable key,
org.apache.hadoop.io.Text 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
public EvaluationMapTask()
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>
IOException
InterruptedException
protected void map(org.apache.hadoop.io.LongWritable key, org.apache.hadoop.io.Text value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.