close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libsvn_fs_util-1.so.1: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Aug 6, 2010, 2:37:33 AM (15 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v1
|
v2
|
|
| 2 | 2 | #!html |
| 3 | 3 | <div style="text-align: center;"><big |
| 4 | | style="font-weight: bold;"><big><big>實作三、執行 MapReduce 基本運算</big></big></big></div> |
| | 4 | style="font-weight: bold;"><big><big>實作三、執行 MapReduce 基本運算</big></big></big><br><big><big>Lab3: Running MapReduce by Examples</big></big></div> |
| 5 | 5 | }}} |
| 6 | 6 | [[PageOutline]] |
| 7 | 7 | |
| 8 | | = 1 Hadoop運算命令 grep = |
| | 8 | = 1 Hadoop運算命令 grep = |
| 9 | 9 | |
| 10 | 10 | * grep 這個命令是擷取文件裡面特定的字元,在Hadoop example中此指令可以擷取文件中有此指定文字的字串,並作計數統計 |
| … |
… |
|
| 114 | 114 | }}} |
| 115 | 115 | |
| 116 | | = 2 Hadoop運算命令 WordCount = |
| | 116 | = 2 Hadoop運算命令 WordCount = |
| 117 | 117 | |
| 118 | 118 | * 如名稱,WordCount會對所有的字作字數統計,並且從a-z作排列 |
| … |
… |
|
| 129 | 129 | }}} |
| 130 | 130 | |
| 131 | | = 3. 使用網頁Gui瀏覽資訊 = |
| | 131 | = 3. 使用網頁 GUI 瀏覽資訊 = |
| 132 | 132 | |
| 133 | 133 | * [http://localhost:50030 透過 Map/Reduce Admin 來察看程序運作狀態] |
| … |
… |
|
| 135 | 135 | * [http://localhost:50070 透過 NameNode 察看運算結果] |
| 136 | 136 | |
| 137 | | = 4. 更多運算命令 = |
| | 137 | = 4. 更多運算命令 = |
| 138 | 138 | |
| 139 | 139 | 可執行的指令一覽表: |