Changes between Version 22 and Version 23 of jazz/08-11-04


Ignore:
Timestamp:
Nov 5, 2008, 11:14:32 AM (16 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/08-11-04

    v22 v23  
    5555~/hadoop-0.18.2$ bin/start-all.sh
    5656}}}
    57    * 6. 啟動 MapReduce 的指令
    58 {{{
    59 ~/hadoop-0.18.2$ bin/start-mapred.sh
    60 }}}
    61 
    62 
    6357 * 6. 完成後可以看到以下三個網頁
    6458   * http://localhost:50030/
     
    7367drwxr-xr-x   - jazz supergroup          0 2008-11-04 15:56 /user/jazz/conf
    7468}}}
     69{{{
     70~/hadoop-0.18.2$ bin/hadoop jar /home/jazz/hadoop-0.18.2/hadoop-0.18.2-examples.jar wordcount
     71ERROR: Wrong number of parameters: 0 instead of 2.
     72wordcount [-m <maps>] [-r <reduces>] <input> <output>
     73Generic 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
     82The general command line syntax is
     83bin/hadoop command [genericOptions] [commandOptions]
     84}}}