Un Job Java
Les fonctions à implémenter
Deux fonctions à implémenter : map et reduce
CTRL+C pour copier, CTRL+V pour coller
1
public void map(Object key, Text value, Context context) throws IOException, InterruptedException {
2
3
}
4
5
public void reduce(Text key, Iterable<IntWritable> values, Context context) throws IOException, InterruptedException {
6
7
}
public void map(Object key, Text value, Context context) throws IOException, InterruptedException { } public void reduce(Text key, Iterable<IntWritable> values, Context context) throws IOException, InterruptedException { }