Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 14832 invoked from network); 2 Dec 2008 05:34:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Dec 2008 05:34:37 -0000 Received: (qmail 12805 invoked by uid 500); 2 Dec 2008 05:34:46 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 12764 invoked by uid 500); 2 Dec 2008 05:34:46 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 12753 invoked by uid 99); 2 Dec 2008 05:34:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 21:34:46 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2008 05:33:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 352AF234C289 for ; Mon, 1 Dec 2008 21:33:44 -0800 (PST) Message-ID: <2059328963.1228196024213.JavaMail.jira@brutus> Date: Mon, 1 Dec 2008 21:33:44 -0800 (PST) From: "Sreekanth Ramakrishnan (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4576) Modify pending tasks count in the UI to pending jobs count in the UI In-Reply-To: <2090523026.1225690844213.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sreekanth Ramakrishnan updated HADOOP-4576: ------------------------------------------- Attachment: HADOOP-4576-2.patch Attaching new patch, this patch does not iterate thro' job list to find count of waiting jobs,instead introduces a counter in the QueueInfo object in JobQueueManager to maintain a count of waiting jobs which is incremented and decremented (by JobInitializationPoller). This would mean that in [HADOOP-4445|https://issues.apache.org/jira/browse/HADOOP-4445] we just need to iterate thro' running jobs queue to find number of running tasks for that queue. > Modify pending tasks count in the UI to pending jobs count in the UI > -------------------------------------------------------------------- > > Key: HADOOP-4576 > URL: https://issues.apache.org/jira/browse/HADOOP-4576 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/capacity-sched > Affects Versions: 0.19.0 > Reporter: Hemanth Yamijala > Assignee: Sreekanth Ramakrishnan > Attachments: HADOOP-4576-1.patch, HADOOP-4576-2.patch > > > The UI for capacity scheduler displays 'pending tasks' counts. However the capacity scheduler does not update these counts to be the actual values for optimization purposes, for e.g. to avoid walking all pending jobs on all heartbeats. Hence this information is not very accurate. > Also, while 'running tasks' counts are useful to compare against capacities and limits, 'pending tasks' counts do not add too much user value. A better count to display would be the number of running and pending jobs. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.