Syntax Summary
The following syntax summary applies to all commands.
hadoop [-yarn|-classic] [--config confdir] [COMMAND] [GENERIC_OPTIONS] [COMMAND_OPTIONS]
hadoop1 [--config confdir] [COMMAND] [GENERIC_OPTIONS] [COMMAND_OPTIONS]
hadoop2 [--config confdir] [COMMAND] [GENERIC_OPTIONS] [COMMAND_OPTIONS]
Hadoop has an option parsing framework that employs parsing generic options as well as running classes.
COMMAND_OPTION |
Description |
---|---|
-mode
|
Specifies the Hadoop version: Aternatively, you can use a If you use a |
|
Overwrites the default Configuration directory. Default is
|
|
Various commands with their options are described in the following sections. |
|
The common set of options supported by multiple commands. |
|
Various command options are described in the following sections. |
hadoop
script without any arguments prints the help
description for all commands.