Hi Team,
I need to understand the difference between writing a mapper code in bellow following manner.
Code:1
Public static class wordcountmapper extends MapReduceBase implements Mapper<>{
Public void map(LongWritable key, Text values, OutputCollector<Text, Text> outout)
Code:2
Public static class wordcountmapper extends Mapper<> {
Public void map(Longwritable key, Text values, Context context)
I want to understand the concept of this OutoutCollector and Context. Where I have to use which syntax? Etc etc.