MapReduce CLI
Contents
All MapReduce commands are called by the bin/mapred script. Running the mapred script without any arguments prints the description for all commands.
The script usage is as follows:
$ mapred [SHELL_OPTIONS] COMMAND [GENERIC_OPTIONS] [COMMAND_OPTIONS]
Hadoop has an option parsing framework that employs parsing generic options as well as running classes.
Command options | Description |
---|---|
SHELL_OPTIONS |
The common set of shell options |
GENERIC_OPTIONS |
The common set of options supported by multiple commands |
COMMAND_OPTIONS |
Various commands with their options |