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 23B9618738 for ; Fri, 29 May 2015 21:36:18 +0000 (UTC) Received: (qmail 66927 invoked by uid 500); 29 May 2015 21:36:17 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 66888 invoked by uid 500); 29 May 2015 21:36:17 -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 66872 invoked by uid 99); 29 May 2015 21:36:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 May 2015 21:36:17 +0000 Date: Fri, 29 May 2015 21:36:17 +0000 (UTC) From: "Spandan Dutta (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3569) YarnClient.getAllQueues returns a list of queues that do not display running apps. 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-3569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14565458#comment-14565458 ] Spandan Dutta commented on YARN-3569: ------------------------------------- [~vinodkv] I think we should do both 1 and 2. For doing 1 we can just have a overloaded function that takes a boolean parameter. getAllApplications(boolean). The boolean parameter would indicate whether we want the application list for a queue or not. This will cater to the use case that was pointed out in my previous comment. For doing 2 we should inform people about this and point to the new api mentioned in point 1. Any thoughts on this ? > YarnClient.getAllQueues returns a list of queues that do not display running apps. > ---------------------------------------------------------------------------------- > > Key: YARN-3569 > URL: https://issues.apache.org/jira/browse/YARN-3569 > Project: Hadoop YARN > Issue Type: Bug > Components: api > Affects Versions: 2.8.0 > Reporter: Spandan Dutta > Assignee: Spandan Dutta > Attachments: YARN-3569.patch > > > YarnClient.getAllQueues() returns a list of queues. If we pick a queue from this list and call getApplications on it, we always get an empty list even-though applications are running on that queue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)