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)