Changes between Version 5 and Version 6 of NCHCCloudCourse100928_4_EXM3
- Timestamp:
- Jul 21, 2011, 5:43:55 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NCHCCloudCourse100928_4_EXM3
v5 v6 4 4 Hadoop 進階課程 5 5 </big></big></big></div> <div style="text-align: center; color:#7E2217"><big style="font-weight: bold;"><big> 6 範例 6 練習 7 7 </big></big></div> 8 8 }}} … … 71 71 job.setJarByClass(HelloHadoopV3.class); 72 72 // set map and reduce class 73 job.setMapperClass( HelloMapperV2.class);74 job.setCombinerClass( HelloReducerV2.class);75 job.setReducerClass( HelloReducerV2.class);73 job.setMapperClass(); // 輸入正確的mapper 74 job.setCombinerClass(); // 輸入正確的 class 75 job.setReducerClass(); // 輸入正確的 reducer 76 76 77 77 job.setMapOutputKeyClass(Text.class);