public static class YarnSubmitCommand.SubmitOptionHandler extends AbstractApplicationCommand.ApplicationOptionHandler<org.apache.hadoop.yarn.api.records.ApplicationId>
| Constructor and Description |
|---|
YarnSubmitCommand.SubmitOptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
joptsimple.OptionSpec<java.lang.String> |
getApplicationVersionOption() |
protected void |
handleApplicationRun(ClientApplicationRunner<org.apache.hadoop.yarn.api.records.ApplicationId> app)
Handles run of
ClientApplicationRunner. |
protected void |
options() |
protected void |
runApplication(joptsimple.OptionSet options)
Run the application.
|
handleApplicationRun, handleOutput, isFlagOn, run, verifyOptionSetpublic YarnSubmitCommand.SubmitOptionHandler()
protected final void options()
options in class org.springframework.boot.cli.command.options.OptionHandlerprotected void runApplication(joptsimple.OptionSet options)
throws java.lang.Exception
AbstractApplicationCommand.ApplicationOptionHandlerrunApplication in class AbstractApplicationCommand.ApplicationOptionHandler<org.apache.hadoop.yarn.api.records.ApplicationId>options - the options setjava.lang.Exception - if error occurred during the processingprotected void handleApplicationRun(ClientApplicationRunner<org.apache.hadoop.yarn.api.records.ApplicationId> app)
AbstractApplicationCommand.ApplicationOptionHandlerClientApplicationRunner.handleApplicationRun in class AbstractApplicationCommand.ApplicationOptionHandler<org.apache.hadoop.yarn.api.records.ApplicationId>app - the apppublic joptsimple.OptionSpec<java.lang.String> getApplicationVersionOption()