Andras Gyori commented on YARN-10199:

Thank you  for the suggestion [~pbacsko].

It is indeed a very good idea and would facilitate the testing of queue 
mapping. I have acted accordingly and the logic, with the involved methods have 
been extracted to their own class.

> Simplify UserGroupMappingPlacementRule#getPlacementForUser
> ----------------------------------------------------------
>                 Key: YARN-10199
>                 URL: https://issues.apache.org/jira/browse/YARN-10199
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: scheduler
>            Reporter: Andras Gyori
>            Assignee: Andras Gyori
>            Priority: Minor
>         Attachments: YARN-10199.001.patch
> The UserGroupMappingPlacementRule#getPlacementForUser method, which is mainly 
> responsible for queue naming, contains deeply nested branches. In order to 
> provide an extendable mapping logic, the branches could be flattened and 
> simplified.

This message was sent by Atlassian Jira

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