hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantinos Karanasos (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6596) Introduce Placement Constraint Manager module
Date Thu, 21 Dec 2017 02:52:00 GMT

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

Konstantinos Karanasos commented on YARN-6596:
----------------------------------------------

Thanks [~asuresh] for the comments.

bq. Do we need both registerApplication() and addApplicationConstraint() ? The former takes
a map and the latter takes individual entries of the map. I'd say the add should be good enough
- given that it exposes the replace parameter.
I was thinking to have the first one being used when the application gets registered for the
application level constraints to be added directly, without the external code having to do
any iteration. This also avoids checking each time whether the application is registered in
the PCM. I was thinking to use the second when a SchedulingRequest comes in with additional
constraints.
bq. Nit: Looks like the patch introduced some empty lines.
Yep, I have already removed them locally, waiting for Jenkins so that I can fix more stuff
before uploading next version.
bq. Given that we are dissallowing an allocation tag set key with more than 1 entry at the
moment, we would also need to ensure that an incoming scheduling request be validated to ensure
it is associated with a single tag as well - right ?
I think so, yes.

> Introduce Placement Constraint Manager module
> ---------------------------------------------
>
>                 Key: YARN-6596
>                 URL: https://issues.apache.org/jira/browse/YARN-6596
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Konstantinos Karanasos
>            Assignee: Konstantinos Karanasos
>         Attachments: YARN-6596-YARN-6592.001.patch
>
>
> This RM module will be responsible for storing placement constraints, allocation tags,
and node attributes.
> It will be used when determining the placement of SchedulingRequests with constraints.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message