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

Konstantinos Karanasos commented on YARN-8111:
----------------------------------------------

I checked the code again, yes, makes sense.

BTW you can call the allocationTagWithNamespace inside the allocationTag, so 
that all allocation tag creations end up in the same method.

I think we also need to update the documentation (if I remember well the 
allocationTagToIntraApp is mentioned there).

> Simplify PlacementConstraints class API
> ---------------------------------------
>
>                 Key: YARN-8111
>                 URL: https://issues.apache.org/jira/browse/YARN-8111
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>            Priority: Minor
>         Attachments: YARN-8111.001.patch
>
>
> # Per discussion in YARN-8013, we agree to disallow null value for namespace 
> and default it to SELF.
>  # Remove PlacementConstraints#allocationTagToIntraApp



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to