@Override
protected void runApplication(OptionSet options) throws Exception {
String appId = options.valueOf(applicationIdOption);
Assert.hasText(appId, "Application Id must be defined");
YarnKillApplication app = new YarnKillApplication();
Properties appProperties = new Properties();
appProperties.setProperty("spring.yarn.internal.YarnKillApplication.applicationId", appId);
app.appProperties(appProperties);
String info = app.run(new String[0]);
handleOutput(info);
}