Package org.apache.hadoop.hbase.rest
Class PerformanceEvaluation.EvaluationMapTask
java.lang.Object
org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,PerformanceEvaluation.PeInputSplit,org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable>
org.apache.hadoop.hbase.rest.PerformanceEvaluation.EvaluationMapTask
- Enclosing class:
- PerformanceEvaluation
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>
MapReduce job that runs a performance evaluation client in each map task.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
-
Field Summary
Modifier and TypeFieldDescriptionprivate Class<? extends PerformanceEvaluation.Test>
static final String
configuration parameter name that contains the commandprivate PerformanceEvaluation
static final String
configuration parameter name that contains the PE impl -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate <Type> Class<? extends Type>
protected void
map
(org.apache.hadoop.io.NullWritable key, PerformanceEvaluation.PeInputSplit value, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, PerformanceEvaluation.PeInputSplit, org.apache.hadoop.io.LongWritable, org.apache.hadoop.io.LongWritable>.org.apache.hadoop.mapreduce.Mapper.Context context) protected void
setup
(org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, PerformanceEvaluation.PeInputSplit, org.apache.hadoop.io.LongWritable, org.apache.hadoop.io.LongWritable>.org.apache.hadoop.mapreduce.Mapper.Context context) Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run
-
Field Details
-
CMD_KEY
configuration parameter name that contains the command- See Also:
-
PE_KEY
configuration parameter name that contains the PE impl- See Also:
-
cmd
-
pe
-
-
Constructor Details
-
EvaluationMapTask
public EvaluationMapTask()
-
-
Method Details
-
setup
protected void setup(org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, PerformanceEvaluation.PeInputSplit, org.apache.hadoop.io.LongWritable, org.apache.hadoop.io.LongWritable>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
setup
in classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,
PerformanceEvaluation.PeInputSplit, org.apache.hadoop.io.LongWritable, org.apache.hadoop.io.LongWritable>
-
forName
-
map
protected void map(org.apache.hadoop.io.NullWritable key, PerformanceEvaluation.PeInputSplit value, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, PerformanceEvaluation.PeInputSplit, throws IOException, InterruptedExceptionorg.apache.hadoop.io.LongWritable, org.apache.hadoop.io.LongWritable>.org.apache.hadoop.mapreduce.Mapper.Context context) - Overrides:
map
in classorg.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable,
PerformanceEvaluation.PeInputSplit, org.apache.hadoop.io.LongWritable, org.apache.hadoop.io.LongWritable> - Throws:
IOException
InterruptedException
-