@Override
protected void runApplication(OptionSet options) throws Exception {
String appVersion = options.valueOf(applicationVersionOption);
Assert.hasText(appVersion, "Application version must be defined");
YarnSubmitApplication app = new YarnSubmitApplication();
app.applicationVersion(appVersion);
ApplicationId applicationId = app.run();
handleOutput("New instance submitted with id " + applicationId);
}