Changes between Version 1 and Version 2 of hadoop-sample-code
- Timestamp:
- May 27, 2008, 5:04:28 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
hadoop-sample-code
v1 v2 2 2 /* 3 3 4 * hadoop sample code 4 * map reduce sample code 5 5 6 */ 6 7 7 8 8 … … 39 39 40 40 import org.apache.hadoop.mapred.Reporter; 41 41 42 42 43 … … 85 86 } 86 87 87 88 89 88 // reducer: sums up all the counts 90 89 … … 126 125 127 126 128 129 127 130 128 /** … … 146 144 147 145 148 JobConf conf = new JobConf( DemoWordCount.class);146 JobConf conf = new JobConf(WordCount.class); 149 147 150 148 conf.setJobName("wordcount");