public static class SleepJob.SleepMapper extends Mapper<LongWritable,LongWritable,org.apache.hadoop.mapred.gridmix.GridmixKey,NullWritable>
Mapper.Context| Constructor and Description |
|---|
SleepMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(Mapper.Context context) |
void |
map(LongWritable key,
LongWritable value,
Mapper.Context context) |
public void map(LongWritable key, LongWritable value, Mapper.Context context) throws IOException, InterruptedException
map in class Mapper<LongWritable,LongWritable,org.apache.hadoop.mapred.gridmix.GridmixKey,NullWritable>IOExceptionInterruptedExceptionpublic void cleanup(Mapper.Context context) throws IOException, InterruptedException
cleanup in class Mapper<LongWritable,LongWritable,org.apache.hadoop.mapred.gridmix.GridmixKey,NullWritable>IOExceptionInterruptedExceptionCopyright © 2018 CERN. All Rights Reserved.