public static class HadoopConverterJob.ConvertingMapper extends org.apache.hadoop.mapreduce.Mapper<String,String,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
Constructor and Description |
---|
HadoopConverterJob.ConvertingMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
map(String key,
String value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void map(String key, String value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<String,String,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
IOException
InterruptedException
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Mapper<String,String,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
IOException
InterruptedException
protected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
cleanup
in class org.apache.hadoop.mapreduce.Mapper<String,String,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
IOException
InterruptedException
Copyright © 2011–2015. All rights reserved.