Package org.apache.hadoop.hbase
Class PerformanceEvaluation.EvaluationMapTask
java.lang.Object
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>
org.apache.hadoop.hbase.PerformanceEvaluation.EvaluationMapTask
- Enclosing class:
- PerformanceEvaluation
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>
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate <Type> Class<? extends Type>
protected void
map
(org.apache.hadoop.io.LongWritable key, org.apache.hadoop.io.Text value, 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>.org.apache.hadoop.mapreduce.Mapper.Context context) protected void
setup
(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>.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
-
-
Constructor Details
-
EvaluationMapTask
public EvaluationMapTask()
-
-
Method Details
-
setup
protected void setup(org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable, org.apache.hadoop.io.Text, throws IOException, InterruptedExceptionorg.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.LongWritable,
org.apache.hadoop.io.Text, org.apache.hadoop.io.LongWritable, org.apache.hadoop.io.LongWritable> - Throws:
IOException
InterruptedException
-
forName
-
map
protected void map(org.apache.hadoop.io.LongWritable key, org.apache.hadoop.io.Text value, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable, org.apache.hadoop.io.Text, 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.LongWritable,
org.apache.hadoop.io.Text, org.apache.hadoop.io.LongWritable, org.apache.hadoop.io.LongWritable> - Throws:
IOException
InterruptedException
-