hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (YARN-6593) [API] Introduce Placement Constraint object
Date Tue, 23 May 2017 22:10:04 GMT

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

Arun Suresh edited comment on YARN-6593 at 5/23/17 10:09 PM:
-------------------------------------------------------------

Given that what ideally should be perceived as the API is the proto definitions, and since
we agreed to merge both TargetConstraint and CardinalityConstraint as a single proto struct,
I don't see why we should not expose SimplePlacementConstraint externally as well.

In any case, we can have Builders/Validators that can take care of this internally right ?


Since this feature is still nascent and in the process of development, we should probably
err on the side of flexibility rather than stricter syntax. All dependent code (YARN native
services) work can go on in parallel. One we have a working implementation, and we are close
to a release, we can "late-bind" to a more restrictive API.


was (Author: asuresh):
Given that what ideally should be perceived as the API is the proto definitions, and since
we agreed to merge both TargetConstraint and CardinalityConstraint as a single proto struct,
I don't see why we should not expose SimplePlacementConstraint externally as well.

In any case, we can have Builders/Validators that can take care of this internally right ?


> [API] Introduce Placement Constraint object
> -------------------------------------------
>
>                 Key: YARN-6593
>                 URL: https://issues.apache.org/jira/browse/YARN-6593
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Konstantinos Karanasos
>            Assignee: Konstantinos Karanasos
>         Attachments: YARN-6593.001.patch, YARN-6593.002.patch
>
>
> This JIRA introduces an object for defining placement constraints.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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