Changes between Version 24 and Version 25 of jazz/08-11-04


Ignore:
Timestamp:
Nov 5, 2008, 12:12:43 PM (16 years ago)
Author:
jazz
Comment:

--

Legend:

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

    v24 v25  
    6767drwxr-xr-x   - jazz supergroup          0 2008-11-04 15:56 /user/jazz/conf
    6868}}}
    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 }}}
    85  * Wordcount 的原始碼
    86 {{{
    87 jazz@drbl:~/hadoop-0.18.2/src$ vi examples/org/apache/hadoop/examples/WordCount.java
    88 }}}