Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 21647 invoked from network); 24 Sep 2009 09:24:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Sep 2009 09:24:40 -0000 Received: (qmail 31445 invoked by uid 500); 24 Sep 2009 09:24:40 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 31395 invoked by uid 500); 24 Sep 2009 09:24:40 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 31385 invoked by uid 99); 24 Sep 2009 09:24:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2009 09:24:40 +0000 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; Thu, 24 Sep 2009 09:24:37 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F37C0234C004 for ; Thu, 24 Sep 2009 02:24:15 -0700 (PDT) Message-ID: <944252236.1253784255986.JavaMail.jira@brutus> Date: Thu, 24 Sep 2009 02:24:15 -0700 (PDT) From: "V.V.Chaitanya Krishna (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1007) MAPREDUCE-777 breaks the UI for hierarchial Queues. In-Reply-To: <1827388661.1253304075990.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759070#action_12759070 ] V.V.Chaitanya Krishna commented on MAPREDUCE-1007: -------------------------------------------------- The UI is not being displayed when a hierarchy of queues in built with atleast one container queue (i.e., atleast one non-leaf queue). There is no check for occurrence of null pointer in CapacityTaskScheduler.getJobs(queueName) and when the container queue's name is given as input parameter, it fails with NPE. The above patch is to handle this issue. It also includes test cases written to check the behaviour when a job is submitted to a container queue. > MAPREDUCE-777 breaks the UI for hierarchial Queues. > ---------------------------------------------------- > > Key: MAPREDUCE-1007 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1007 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobtracker > Affects Versions: 0.21.0 > Reporter: rahul k singh > Assignee: V.V.Chaitanya Krishna > Priority: Blocker > Fix For: 0.21.0 > > Attachments: MAPREDUCE-1007-1.patch, MAPREDUCE-1007.patch > > > MAPREDUCE-777 breaks jobtracker UI for hierarchial queues. When jobtracker.jsp is accessed, it throws the following exception: > {code} > java.lang.NullPointerException > at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1007) > at org.apache.hadoop.mapred.JobTracker.getJobsFromQueue(JobTracker.java:3888) > at org.apache.hadoop.mapred.JobTracker.getQueueInfoArray(JobTracker.java:3869) > at org.apache.hadoop.mapred.JobTracker.getRootQueues(JobTracker.java:3830) > at org.apache.hadoop.mapred.jobtracker_jsp.generateSummaryTable(jobtracker_jsp.java:36) > .... > {code} > (Issue number and the line number in code match - 1007. Some fun for a Hadoop developer :) ) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.