public class YarnSubmitCommand extends AbstractApplicationCommand
Modifier and Type | Class and Description |
---|---|
static class |
YarnSubmitCommand.SubmitOptionHandler |
AbstractApplicationCommand.ApplicationOptionHandler<R>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_COMMAND |
static java.lang.String |
DEFAULT_DESC |
Constructor and Description |
---|
YarnSubmitCommand()
Instantiates a new yarn submit command using a default
command name, command description and option handler.
|
YarnSubmitCommand(java.lang.String name,
java.lang.String description,
YarnSubmitCommand.SubmitOptionHandler handler)
Instantiates a new yarn submit command.
|
YarnSubmitCommand(YarnSubmitCommand.SubmitOptionHandler handler)
Instantiates a new yarn submit command using a default
command name and command description.
|
getUsageHelp
getHandler, getHelp, getOptionsHelp, run
public static final java.lang.String DEFAULT_COMMAND
public static final java.lang.String DEFAULT_DESC
public YarnSubmitCommand()
public YarnSubmitCommand(YarnSubmitCommand.SubmitOptionHandler handler)
handler
- the handlerpublic YarnSubmitCommand(java.lang.String name, java.lang.String description, YarnSubmitCommand.SubmitOptionHandler handler)
name
- the command namedescription
- the command descriptionhandler
- the handler