Changeset 25 for sample/hadoop-0.16/tw/org/nchc/code/HBaseRecordPro.java
- Timestamp:
- Jul 3, 2008, 4:45:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/hadoop-0.16/tw/org/nchc/code/HBaseRecordPro.java
r23 r25 228 228 conf.setNumMapTasks(mapTasks); 229 229 conf.setNumReduceTasks(reduceTasks); 230 // 0.16231 //conf.setInputPath(text_path);232 Convert.setInputPath(conf, text_path); 230 231 conf.setInputPath(text_path); 232 233 233 234 234 conf.setMapperClass(IdentityMapper.class); … … 240 240 // delete tmp file 241 241 // 0.16 242 // FileSystem.get(conf).delete(text_path); 243 FileSystem.get(conf).delete(text_path,true); 242 FileSystem.get(conf).delete(text_path); 244 243 245 244 setup.deleteFile(conf_tmp);
Note: See TracChangeset
for help on using the changeset viewer.