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:
-
Nov 5, 2008, 11:14:32 AM (17 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v22
|
v23
|
|
| 55 | 55 | ~/hadoop-0.18.2$ bin/start-all.sh |
| 56 | 56 | }}} |
| 57 | | * 6. 啟動 MapReduce 的指令 |
| 58 | | {{{ |
| 59 | | ~/hadoop-0.18.2$ bin/start-mapred.sh |
| 60 | | }}} |
| 61 | | |
| 62 | | |
| 63 | 57 | * 6. 完成後可以看到以下三個網頁 |
| 64 | 58 | * http://localhost:50030/ |
| … |
… |
|
| 73 | 67 | drwxr-xr-x - jazz supergroup 0 2008-11-04 15:56 /user/jazz/conf |
| 74 | 68 | }}} |
| | 69 | {{{ |
| | 70 | ~/hadoop-0.18.2$ bin/hadoop jar /home/jazz/hadoop-0.18.2/hadoop-0.18.2-examples.jar wordcount |
| | 71 | ERROR: Wrong number of parameters: 0 instead of 2. |
| | 72 | wordcount [-m <maps>] [-r <reduces>] <input> <output> |
| | 73 | Generic options supported are |
| | 74 | -conf <configuration file> specify an application configuration file |
| | 75 | -D <property=value> use value for given property |
| | 76 | -fs <local|namenode:port> specify a namenode |
| | 77 | -jt <local|jobtracker:port> specify a job tracker |
| | 78 | -files <comma separated list of files> specify comma separated files to be copied to the map reduce cluster |
| | 79 | -libjars <comma separated list of jars> specify comma separated jar files to include in the classpath. |
| | 80 | -archives <comma separated list of archives> specify comma separated archives to be unarchived on the compute machines. |
| | 81 | |
| | 82 | The general command line syntax is |
| | 83 | bin/hadoop command [genericOptions] [commandOptions] |
| | 84 | }}} |