hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3395) [Fair Scheduler] Handle the user name correctly when user name is used as default queue name.
Date Fri, 08 May 2015 17:46:02 GMT

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

Arun Suresh commented on YARN-3395:
-----------------------------------

Thanks for the patch [~zxu],
I have just a minor nit :
Since you already do a name.trim() once, we don't need to do it again before returning.

> [Fair Scheduler] Handle the user name correctly when user name is used as default queue
name.
> ---------------------------------------------------------------------------------------------
>
>                 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
>         Attachments: YARN-3395.000.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)

Mime
View raw message