Changeset 27 for sample/hadoop-0.16/tw/org/nchc/demo/DemoHBaseSource.java
- Timestamp:
- Jul 3, 2008, 5:25:22 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/hadoop-0.16/tw/org/nchc/demo/DemoHBaseSource.java
r21 r27 4 4 * From : NCHC. Taiwn 5 5 * Last Update Date: 07/02/2008 6 * Upgrade to 0.177 6 * Re-code from : Cloud9: A MapReduce Library for Hadoop 8 7 */ … … 28 27 import org.apache.hadoop.mapred.Reducer; 29 28 import org.apache.hadoop.mapred.Reporter; 30 31 import tw.org.nchc.code.Convert;32 29 33 30 /** … … 104 101 conf.setOutputKeyClass(Text.class); 105 102 conf.setOutputValueClass(IntWritable.class); 106 //0.16 107 // conf.setOutputPath(new Path(outputPath)); 108 Convert.setOutputPath(conf,new Path(outputPath)); 103 conf.setOutputPath(new Path(outputPath)); 109 104 110 105 conf.setMapperClass(MapClass.class);
Note: See TracChangeset
for help on using the changeset viewer.