Changes between Version 2 and Version 3 of waue/2009/0715


Ignore:
Timestamp:
Jul 15, 2009, 5:03:15 PM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/0715

    v2 v3  
     1 = hadoop programming 0715 =
     2 * 整理出hadoop programming 的完全公式
     3
     4 ||   || 輸入 key  || 輸入 value  || 輸出 Key  || 輸出 Value  ||   ||
     5 || Mapper <  || A  || B  || C  || D  || >  ||
     6 || map(  || A  || B  || OutputCollector < C , D >  || Reporter reporter  ||  ) ||
     7 ||  output. || collect(  || c  || d  || )  ||   ||
     8 || Reducer <  ||  C || D  || E  || F  || >  ||
     9 || reduce(  || C  || D || OutputCollector < E , F >  || Reporter reporter  ||  ) ||
     10 ||  output. || collect(  ||  e || f  || )  ||   ||
     11
     12
     13
    114{{{
    215public static class Map extends MapReduceBase implements Mapper<LongWritable, Text, Text, IntWritable> {