You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2014/12/03 13:35:12 UTC

[jira] [Commented] (SLIDER-691) Allow specification using the percentage of memory allowed

    [ https://issues.apache.org/jira/browse/SLIDER-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14232952#comment-14232952 ] 

Sumit Mohanty commented on SLIDER-691:
--------------------------------------

If its "% of total memory" for the application (based on queue and labels) then AppMaster can do the calculation but it will not guarantee anti-affinity if thats the goal.

If its % of memory available on a node then the AppMaster needs to know how much memory is available on a node - we need to check if YARN makes that available. 
Even if its available, we need some way to handle the situation where different node may have different value for max available memory. 



> Allow specification using the percentage of memory allowed
> ----------------------------------------------------------
>
>                 Key: SLIDER-691
>                 URL: https://issues.apache.org/jira/browse/SLIDER-691
>             Project: Slider
>          Issue Type: Improvement
>    Affects Versions: Slider 0.60
>            Reporter: Ted Yu
>
> In the thread 'Is it able to specify the percentage of memory instead of # of MB', Steve suggested:
> We could do something where we can query YARN for the maximum amount an app can ask for (the AM finds this out when registered), and the capacity could be derived as a percentage of that.
> Rather than percentage of available RAM, it's just a fraction of what you
> are allowed.
> This percentage can be expressed using 'x%' as the value for "yarn.memory" parameter of each component where x is between 1 and 100.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)