Return-Path: X-Original-To: apmail-incubator-chukwa-dev-archive@www.apache.org Delivered-To: apmail-incubator-chukwa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8167E4A3D for ; Fri, 10 Jun 2011 05:17:32 +0000 (UTC) Received: (qmail 20177 invoked by uid 500); 10 Jun 2011 05:17:32 -0000 Delivered-To: apmail-incubator-chukwa-dev-archive@incubator.apache.org Received: (qmail 20090 invoked by uid 500); 10 Jun 2011 05:17:26 -0000 Mailing-List: contact chukwa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@incubator.apache.org Delivered-To: mailing list chukwa-dev@incubator.apache.org Received: (qmail 20067 invoked by uid 99); 10 Jun 2011 05:17:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 05:17:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 05:17:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BA29910CD1D for ; Fri, 10 Jun 2011 05:16:58 +0000 (UTC) Date: Fri, 10 Jun 2011 05:16:58 +0000 (UTC) From: "Eric Yang (JIRA)" To: chukwa-dev@incubator.apache.org Message-ID: <40501402.9643.1307683018743.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <801406227.3049.1307539918826.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CHUKWA-587) The logic to load the front page of hicc appears to be broken 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/CHUKWA-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047000#comment-13047000 ] Eric Yang commented on CHUKWA-587: ---------------------------------- The described exception is caused by not having any cluster tag in SystemMetrics hbase table in the past hour. For making HICC a generic data analytics and reporting system, setting a default cluster in the user session should be optional. > The logic to load the front page of hicc appears to be broken > ------------------------------------------------------------- > > Key: CHUKWA-587 > URL: https://issues.apache.org/jira/browse/CHUKWA-587 > Project: Chukwa > Issue Type: Bug > Components: User Interface > Affects Versions: 0.5.0 > Environment: A stand alone server with all components > Reporter: DKN > Fix For: 0.5.0 > > > I get the following error, in spite of running hicc, collector, agents etc continuously for more than 5 days. > This appears only when I access : http://localhost:4080/hicc URL. Note that the URL : http://localhost:4080/hicc/jsp/graph_explorer.jsp appears to work okay for me. > HTTP ERROR: 500 > INTERNAL_SERVER_ERROR > RequestURI=/hicc/ > Caused by: > java.util.NoSuchElementException > at java.util.HashMap$HashIterator.nextEntry(HashMap.java:796) > at java.util.HashMap$KeyIterator.next(HashMap.java:828) > at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:100) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) > at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) > 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:729) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) > at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:285) > at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126) > at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:463) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) > 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:729) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) > at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) > at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > 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:505) > at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) > at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) > at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) > We will need to give a consistent behavior for the front page, so that we don't end up giving an opinion that HICC is not working. There may be a change required in the way, chukwa hicc loads the front index.jsp by reading the hbase tables. > Regards, DKN -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira