[ https://issues.apache.org/jira/browse/YARN-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14537220#comment-14537220 ]
Hudson commented on YARN-3395: ------------------------------ SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #191 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/191/]) YARN-3395. FairScheduler: Trim whitespaces when using username for queuename. (Zhihai Xu via kasha) (kasha: rev a60f78e98ed73ab320576c652c577f119ce70901) * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/QueuePlacementRule.java * hadoop-yarn-project/CHANGES.txt * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairScheduler.java > FairScheduler: Trim whitespaces when using username for queuename > ----------------------------------------------------------------- > > Key: YARN-3395 > URL: https://issues.apache.org/jira/browse/YARN-3395 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler > Reporter: zhihai xu > Assignee: zhihai xu > Fix For: 2.8.0 > > Attachments: YARN-3395.000.patch, YARN-3395.001.patch > > > Handle the user name correctly when user name is used as default queue name > in fair scheduler. > It will be better to remove the trailing and leading whitespace of the user > name when we use user name as default queue name, otherwise it will be > rejected by InvalidQueueNameException from QueueManager. I think it is > reasonable to make this change, because we already did special handling for > '.' in user name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)