You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "kyungwan nam (JIRA)" <ji...@apache.org> on 2017/07/05 05:37:00 UTC

[jira] [Updated] (SLIDER-1231) yarn.label.expression does not work correctly

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

kyungwan nam updated SLIDER-1231:
---------------------------------
    Attachment: SLIDER-1231.patch

attach the patch

> yarn.label.expression does not work correctly
> ---------------------------------------------
>
>                 Key: SLIDER-1231
>                 URL: https://issues.apache.org/jira/browse/SLIDER-1231
>             Project: Slider
>          Issue Type: Bug
>            Reporter: kyungwan nam
>         Attachments: SLIDER-1231.patch
>
>
> resources.json 
> {code}
> {
> ...
>   "components": {
>     "slider-appmaster": {
>       "yarn.memory": "2048",
>       "yarn.label.expression" : “label1"
>     },
>     "HBASE_REGIONSERVER": {
>       "yarn.role.priority": "1",
>       "yarn.component.instances": “1",
>       "yarn.memory": "4096",
>       "yarn.component.placement.policy": "4",
>       "yarn.placement.escalate.seconds": "60",
>       "yarn.container.failure.threshold": "9"
>     },
> {code}
> I thought this app will be worked as follows according to resources.json 
> - slider-appmaster should be allocated to a host whose node label is “label1”.
> - HBASE_REGIONSERVER  should be allocated to a host whose node label is default.
> but, all containers was trying to allocate to a host whose node label is “label1"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)