public class YarnShutdownCommand extends AbstractApplicationCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
YarnShutdownCommand.ShutdownOptionHandler |
AbstractApplicationCommand.ApplicationOptionHandler<R>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_COMMAND |
static java.lang.String |
DEFAULT_DESC |
| Constructor and Description |
|---|
YarnShutdownCommand()
Instantiates a new yarn app shutdown command using a default command name,
command description and option handler.
|
YarnShutdownCommand(java.lang.String name,
java.lang.String description,
YarnShutdownCommand.ShutdownOptionHandler handler)
Instantiates a new yarn app shutdown command using a default command name and
command description.
|
YarnShutdownCommand(YarnShutdownCommand.ShutdownOptionHandler handler)
Instantiates a new yarn app shutdown command using a default command name,
command description.
|
getUsageHelpgetHandler, getHelp, getOptionsHelp, runpublic static final java.lang.String DEFAULT_COMMAND
public static final java.lang.String DEFAULT_DESC
public YarnShutdownCommand()
public YarnShutdownCommand(YarnShutdownCommand.ShutdownOptionHandler handler)
handler - the handlerpublic YarnShutdownCommand(java.lang.String name,
java.lang.String description,
YarnShutdownCommand.ShutdownOptionHandler handler)
name - the command namedescription - the command descriptionhandler - the handler