[ 
https://issues.apache.org/jira/browse/SLIDER-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gour Saha updated SLIDER-807:
-----------------------------
    Fix Version/s:     (was: Slider 0.80)
                   Slider 2.0.0

> 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 2.0.0
>
>
> 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)

Reply via email to