[ https://issues.apache.org/jira/browse/YARN-10620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17282323#comment-17282323 ]
Andras Gyori commented on YARN-10620: ------------------------------------- [~pbacsko] I agree with your solution, the set is more appropriate and efficient here +1. > fs2cs: parentQueue for certain placement rules are not set during conversion > ---------------------------------------------------------------------------- > > Key: YARN-10620 > URL: https://issues.apache.org/jira/browse/YARN-10620 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Peter Bacsko > Assignee: Peter Bacsko > Priority: Major > Labels: fs2cs > Attachments: YARN-10620-001.patch, YARN-10620-002.patch > > > There are some placement rules in FS which are currently not handled properly > by fs2cs: > {noformat} > <queuePlacementPolicy> > <rule name="user" create="true"/> > <rule name="primaryGroup" create="true"/> > </queuePlacementPolicy> > {noformat} > The first rule means that if the user queue doesn't exist, it should be > created as {{root.<user>}}. > The second means the same thing, except refers to the primary group instead > of the submitting user: {{root.<primaryGroup>}}. > The problem is that in order for the create="true" setting to take effect, we > must set the parent queue in the generated JSON: > {noformat} > { > "rules" : [ { > "type" : "user", > "matches" : "*", > "policy" : "user", > "fallbackResult" : "skip", > "create" : true > }, { > "type" : "user", > "matches" : "*", > "policy" : "primaryGroup", > "fallbackResult" : "skip", > "create" : true > } ] > } > {noformat} > This is missing right now and it need to be fixed. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org