close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_repos.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Jul 21, 2011, 5:43:55 PM (14 years ago)
- Author:
-
waue
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
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); |