close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Sep 28, 2010, 10:07:37 AM (15 years ago)
- Author:
-
waue
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v1
|
v2
|
|
| 10 | 10 | [wiki:NCHCCloudCourse100928_4_EXM6 上一關 < ] 最後一關 [wiki:NCHCCloudCourse100928 >> 回課程大綱] |
| 11 | 11 | |
| 12 | | = Ex1. = |
| | 12 | = 說明 = |
| | 13 | {{{ |
| | 14 | #!text |
| | 15 | YourMenu |
| | 16 | 說明: |
| | 17 | 將之前的功能整合起來 |
| | 18 | |
| | 19 | 測試方法: |
| | 20 | 將此程式運作在hadoop 0.20 平台上,執行: |
| | 21 | --------------------------- |
| | 22 | hadoop jar YourMenu.jar <功能> |
| | 23 | --------------------------- |
| | 24 | |
| | 25 | 注意: |
| | 26 | 1. 此程式需與之前的範例一起打包成一個YourExam.jar檔 |
| | 27 | }}} |
| | 28 | |
| | 29 | = !YourMenu.java = |
| 13 | 30 | |
| 14 | 31 | {{{ |
| … |
… |
|
| 17 | 34 | |
| 18 | 35 | import org.apache.hadoop.util.ProgramDriver; |
| 19 | | |
| 20 | | |
| 21 | | |
| 22 | | //YourMenu |
| 23 | | //說明: |
| 24 | | // 將之前的功能整合起來 |
| 25 | | // |
| 26 | | //測試方法: |
| 27 | | // 將此程式運作在hadoop 0.20 平台上,執行: |
| 28 | | // --------------------------- |
| 29 | | // hadoop jar YourMenu.jar <功能> |
| 30 | | // --------------------------- |
| 31 | | // |
| 32 | | //注意: |
| 33 | | //1. 此程式需與之前的範例一起打包成一個YourExam.jar檔 |
| 34 | | |
| 35 | 36 | |
| 36 | 37 | public class YourMenu { |