Varun Saxena commented on YARN-3075:

bq. When a node/host has no label, it belongs to a special NodeLabel with key = 
CommonNodeLabelsManager.NO_LABEL. This is necessary because node without label 
can be considered as a "partition" as well. We need support it here (even if 
getLabelsToNode not return it now.)
bq. For scheduling purpose, since we already have getResourceByLabel supports 
No_LABEL case. I think it's fine to move it to a separated JIRA.
You want me to add node to the entry of NO_LABEL once activated ? Any use case 
of this label to node mapping elsewhere ?

> NodeLabelsManager implementation to retrieve label to node mapping
> ------------------------------------------------------------------
>                 Key: YARN-3075
>                 URL: https://issues.apache.org/jira/browse/YARN-3075
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>    Affects Versions: 2.7.0
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>         Attachments: YARN-3075.001.patch, YARN-3075.002.patch, 
> YARN-3075.003.patch, YARN-3075.004.patch

This message was sent by Atlassian JIRA

Reply via email to