Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE33F17E97 for ; Fri, 8 May 2015 05:02:05 +0000 (UTC) Received: (qmail 71612 invoked by uid 500); 8 May 2015 05:02:00 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 71563 invoked by uid 500); 8 May 2015 05:02:00 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 71548 invoked by uid 99); 8 May 2015 05:02:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 May 2015 05:02:00 +0000 Date: Fri, 8 May 2015 05:02:00 +0000 (UTC) From: "zhihai xu (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-3395) [Fair Scheduler] Handle the user name correctly when user name is used as default queue name. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhihai xu updated YARN-3395: ---------------------------- Attachment: YARN-3395.000.patch > [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 > Labels: BB2015-05-TBR > 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)