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