hadoop-yarn-issues mailing list archives

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

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

Wangda Tan commented on YARN-6593:
----------------------------------

bq. I don't see why we should not expose SimplePlacementConstraint externally as well.
That's because it's not understandable by users. We should not expose it to as a part of user
facing API.

bq. In any case, we can have Builders/Validators that can take care of this internally right
?
bq. only once we get convinced that they will lead to more efficient implementation
Like what I emphasized many times, builder can only solve the setting issue, *we need a symmetric
getter* as well.

bq. 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.
This is foundation of the feature, I don't think we should move ahead before get consensus.
I'm fine with delaying string-based api and other fancier builders.

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