YarnPushApplication app = new YarnPushApplication();
app.applicationVersion(appVersion);
Properties instanceProperties = new Properties();
instanceProperties.setProperty("spring.yarn.applicationVersion", appVersion);
app.configFile("application.properties", instanceProperties);
app.run();
handleOutput("New instance " + appVersion + " installed");
}
public OptionSpec<String> getApplicationVersionOption() {
return applicationVersionOption;