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 255B3180CB for ; Wed, 1 Jul 2015 11:06:05 +0000 (UTC) Received: (qmail 81850 invoked by uid 500); 1 Jul 2015 11:06:04 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 81804 invoked by uid 500); 1 Jul 2015 11:06:04 -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 81788 invoked by uid 99); 1 Jul 2015 11:06:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2015 11:06:04 +0000 Date: Wed, 1 Jul 2015 11:06:04 +0000 (UTC) From: "Mohammad Shahid Khan (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3846) RM Web UI queue filter is not working 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-3846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14609939#comment-14609939 ] Mohammad Shahid Khan commented on YARN-3846: -------------------------------------------- also in branch-2 > RM Web UI queue filter is not working > ------------------------------------- > > Key: YARN-3846 > URL: https://issues.apache.org/jira/browse/YARN-3846 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn > Affects Versions: 2.7.0 > Reporter: Mohammad Shahid Khan > Assignee: Mohammad Shahid Khan > Attachments: scheduler queue issue.png, scheduler queue positive behavior.png > > > Click on root queue will show the complete applications > But click on the leaf queue is not filtering the application related to the the clicked queue. > The regular expression seems to be wrong > {code} > q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';", > {code} > For example > 1. Suppose queue name is b > them the above expression will try to substr at index 1 > q.lastIndexOf(':') = -1 > -1+2= 1 > which is wrong. its should look at the 0 index. > 2. if queue name is ab.x > then it will parse it to .x > but it should be x -- This message was sent by Atlassian JIRA (v6.3.4#6332)