You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/03/10 00:50:38 UTC
[jira] [Created] (SLIDER-807) AppMasterLauncher to use resource
limits provided by YARN to fail fast if AM resource ask too big
Steve Loughran created SLIDER-807:
-------------------------------------
Summary: AppMasterLauncher to use resource limits provided by YARN to fail fast if AM resource ask too big
Key: SLIDER-807
URL: https://issues.apache.org/jira/browse/SLIDER-807
Project: Slider
Issue Type: Improvement
Components: client
Affects Versions: Slider 0.70
Reporter: Steve Loughran
Assignee: Steve Loughran
Priority: Minor
Fix For: Slider 0.80
It turns out there's a way to get the information from YARN as to the max resource capabilities *before asking for the AM*.
{code}
application = yarnClient.createApplication();
application.getNewApplicationResponse().getMaximumResourceCapability();
{code}
this can be used to validate the resource options before even asking YARN for the application
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)