You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2008/10/17 17:52:56 UTC

[Hadoop Wiki] Update of "DevelopmentCommandLineOptions" by NigelDaley

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The following page has been changed by NigelDaley:
http://wiki.apache.org/hadoop/DevelopmentCommandLineOptions

------------------------------------------------------------------------------
- '''This page is stale and not maintained. Please refer http://hadoop.apache.org/core/docs/current/commands_manual.html'''
+ '''This page has moved to [http://hadoop.apache.org/core/docs/current/commands_manual.html]'''
  
- = Command Line Options of bin/hadoop =
- 
- See each entry for datails of the command arguments and options.
- 
- ||'''Command'''||'''Function'''||
- ||["hadoop-0.1-dev/bin/hadoop namenode"]||run the DFS Name Node.||
- ||["hadoop-0.1-dev/bin/hadoop datanode"]||run a DFS Data Node.||
- ||["hadoop-0.1-dev/bin/hadoop dfs"]||run a DFS admin client.||
- ||["hadoop-0.1-dev/bin/hadoop distcp"]||run a map-reduce job to copy data to and from dfs.||
- ||["hadoop-0.1-dev/bin/hadoop jobtracker"]||run the !MapReduce Job Tracker node.||
- ||["hadoop-0.1-dev/bin/hadoop tasktracker"]||run a !MapReduce Task Tracker node.||
- ||["hadoop-0.1-dev/bin/hadoop job"]||manipulate !MapReduce jobs.||
- ||["hadoop-0.1-dev/bin/hadoop jar"]||run a jar file.||
- ||["hadoop-0.1-dev/bin/hadoop CLASSNAME"]||run the class named CLASSNAME.||
- ||'''Command'''||'''Function'''||
- 
- 
- = Hadoop Generic Options =
- 
- Hadoop has an option parsing framework that employs parsing generic options as well as running classes. Hadoop generic arguments are :
- 
- {{{-conf <configuration file>}}}  : specify an application configuration file
- 
- {{{-D <property=value>}}}        : use value for given property
- 
- {{{-fs <local|namenode:port>}}}   : specify a namenode  {{{local}}} means use the local file system as your DFS, {{{<namenode:port>}}} specifies a particular name node to contact.
- 
- {{{-jt <local|jobtracker:port>}}} :   specify a job tracker
- 
- The general command line syntax is
- 
- {{{bin/hadoop command [genericOptions] [commandOptions]}}}
- 
- 
- dfs, distcp and job targets accept these generic options. 
-