Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 48453 invoked from network); 15 Jun 2009 06:46:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jun 2009 06:46:21 -0000 Received: (qmail 90707 invoked by uid 500); 15 Jun 2009 06:46:31 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 90644 invoked by uid 500); 15 Jun 2009 06:46:31 -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 90631 invoked by uid 99); 15 Jun 2009 06:46:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 06:46:29 +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; Mon, 15 Jun 2009 06:46:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B5B16234C004 for ; Sun, 14 Jun 2009 23:46:07 -0700 (PDT) Message-ID: <1703599772.1245048367730.JavaMail.jira@brutus> Date: Sun, 14 Jun 2009 23:46:07 -0700 (PDT) From: "Anjali M (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6035) jobtracker stops when namenode goes out of safemode runing capacit scheduler In-Reply-To: <1333137961.1244873947417.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/HADOOP-6035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719424#action_12719424 ] Anjali M commented on HADOOP-6035: ---------------------------------- I've added a single queue and has not changed any defaluts. I'm using hadoop-0.20.0. I used the capcity scheduler in contrib/ of hadoop. The fair scheduler is working fine. The queues of capacity scheduler are also being listed in the jobtrackerUI as long as namenode is in safemode. Once the namenode goes out of the safemode the jobtracker gets stopped. > jobtracker stops when namenode goes out of safemode runing capacit scheduler > ---------------------------------------------------------------------------- > > Key: HADOOP-6035 > URL: https://issues.apache.org/jira/browse/HADOOP-6035 > Project: Hadoop Core > Issue Type: Bug > Affects Versions: 0.20.0 > Environment: Fedora 10 > Reporter: Anjali M > Priority: Minor > > I am facing a problem running the capacity scheduler in hadoop-0.20.0. > The jobtracker is listing the queues when namenode is in the safemode. > Once the namenode goes out of the safemode the jt stops working. On > accessing jobqueue details it shows the following error. > HTTP ERROR: 500 > INTERNAL_SERVER_ERROR > RequestURI=/jobqueue_details.jsp > Caused by: > java.lang.NullPointerException > at org.apache.hadoop.mapred.JobQueuesManager.getRunningJobQueue(JobQueuesManager.java:156) > at org.apache.hadoop.mapred.CapacityTaskScheduler.getJobs(CapacityTaskScheduler.java:1495) > at org.apache.hadoop.mapred.jobqueue_005fdetails_jsp._jspService(jobqueue_005fdetails_jsp.java:64) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363) > at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) > at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:324) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) > at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) > at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) > at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522) > Is it because any of the configuration in capacity-scheduler.xml is incorrect? > I tried forcing the namenode out of the safemode in bin/hadoop > dfsadmin, but still it does not work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.