public class RandomizedDataChunkHadoopMapper
extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RANDOMIZED_DATA_CHUNK_MAP_TASK_OPTIONS
The key in the Configuration that the options for this task are associated
with
|
Constructor and Description |
---|
RandomizedDataChunkHadoopMapper() |
Modifier and Type | Method and Description |
---|---|
void |
map(org.apache.hadoop.io.LongWritable key,
org.apache.hadoop.io.Text value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
public static java.lang.String RANDOMIZED_DATA_CHUNK_MAP_TASK_OPTIONS
public void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws java.io.IOException
setup
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
java.io.IOException
public void map(org.apache.hadoop.io.LongWritable key, org.apache.hadoop.io.Text value, org.apache.hadoop.mapreduce.Mapper.Context context) throws java.io.IOException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
java.io.IOException