if (sliderApp == null)
throw new NoSuchResourceException(resourceId);
return sliderApp;
} catch (YarnException e) {
logger.warn("Unable to determine Slider app with id " + resourceId, e);
throw new SystemException(e.getMessage(), e);
} catch (IOException e) {
logger.warn("Unable to determine Slider app with id " + resourceId, e);
throw new SystemException(e.getMessage(), e);
}
}