throw new ApplicationNotFoundException(appId);
ApplicationId applicationId = UserGroupInformation.getBestUGI(null,
"yarn").doAs(new PrivilegedExceptionAction<ApplicationId>() {
public ApplicationId run() throws IOException, YarnException {
SliderClient sliderClient = getSliderClient();
ActionThawArgs thawArgs = new ActionThawArgs();
sliderClient.actionThaw(sliderApp.getName(), thawArgs);
return sliderClient.applicationId;
}
});
logger.debug("Slider app has been thawed - " + applicationId.toString());