Changeset 28 for sample/hadoop-0.16/tw/org/nchc/demo
- Timestamp:
- Jul 3, 2008, 5:40:27 PM (16 years ago)
- Location:
- sample/hadoop-0.16/tw/org/nchc/demo
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/hadoop-0.16/tw/org/nchc/demo/DemoWordCountTuple.java
r27 r28 163 163 conf.setNumReduceTasks(numReduceTasks); 164 164 // 0.16 165 // conf.setInputPath(new Path(inPath)); 166 Convert.setInputPath(conf, new Path(inPath)); 165 conf.setInputPath(new Path(inPath)); 167 166 conf.setInputFormat(SequenceFileInputFormat.class); 168 167 169 // conf.setOutputPath(new Path(outputPath)); 170 Convert.setInputPath(conf, new Path(outputPath)); 168 conf.setOutputPath(new Path(outputPath)); 171 169 conf.setOutputKeyClass(Tuple.class); 172 170 conf.setOutputValueClass(IntWritable.class); -
sample/hadoop-0.16/tw/org/nchc/demo/DemoWordCountTuple2.java
r27 r28 125 125 126 126 // 0.16 127 //conf.setInputPath(new Path(inPath));128 Convert.setInputPath(conf,new Path(inPath));127 conf.setInputPath(new Path(inPath)); 128 // Convert.setInputPath(conf,new Path(inPath)); 129 129 conf.setInputFormat(SequenceFileInputFormat.class); 130 130 // 0.16 131 // conf.setOutputPath(new Path(outputPath)); 132 Convert.setInputPath(conf, new Path(outputPath)); 131 conf.setOutputPath(new Path(outputPath)); 132 // Convert.setInputPath(conf, new Path(outputPath)); 133 133 134 134 135 conf.setOutputKeyClass(Tuple.class);
Note: See TracChangeset
for help on using the changeset viewer.