Command Line Options of bin/hadoop
See each entry for datails of the command arguments and options.
|
Command |
Function |
|
run the DFS Name Node. |
|
|
run a DFS Data Node. |
|
|
run a DFS admin client. |
|
|
run a map-reduce job to copy data to and from dfs. |
|
|
run the MapReduce Job Tracker node. |
|
|
run a MapReduce Task Tracker node. |
|
|
manipulate MapReduce jobs. |
|
|
run a jar file. |
|
|
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.