hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7840) Update PB for prefix support of node attributes
Date Tue, 30 Jan 2018 13:35:00 GMT

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

Sunil G commented on YARN-7840:

Thanks [~Naganarasimha]

One comment:

{{NodeAttributeTypeProto}} have the type info which is STRING by default. I think we can have type wrapped
in value. This may be better because type is only depending on the value part of an attribute,
hence need not have to be in upper layer. This is similar to resource and its unit. Suggestions?
message NodeAttributeProto {
optional string attributePrefix = 1;
optional string attributeName = 2;
optional NodeAttributeValueProto attributeValue = 3;

message NodeAttributeValueProto {
optional string attributeValue = 1;
optional NodeAttributeTypeProto attributeType = 2 [default = STRING];

> Update PB for prefix support of node attributes
> -----------------------------------------------
>                 Key: YARN-7840
>                 URL: https://issues.apache.org/jira/browse/YARN-7840
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Weiwei Yang
>            Assignee: Naganarasimha G R
>            Priority: Blocker
>         Attachments: YARN-7840-YARN-3409.001.patch, YARN-7840-YARN-3409.002.patch
> We need to support prefix (namespace) for node attributes, this will add the flexibility
to provide ability to do proper ACL, avoid naming conflicts etc.

This message was sent by Atlassian JIRA

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

View raw message