public static class MRRSleepJob.SleepMapper extends org.apache.hadoop.mapreduce.Mapper<IntWritable,IntWritable,IntWritable,IntWritable>
| Constructor and Description |
|---|
SleepMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
map(IntWritable key,
IntWritable value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Mapper<IntWritable,IntWritable,IntWritable,IntWritable>IOExceptionInterruptedExceptionpublic void map(IntWritable key, IntWritable value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<IntWritable,IntWritable,IntWritable,IntWritable>IOExceptionInterruptedExceptionCopyright © 2021 Apache Software Foundation. All rights reserved.