Return-Path: X-Original-To: apmail-incubator-chukwa-user-archive@www.apache.org Delivered-To: apmail-incubator-chukwa-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 01BD545E3 for ; Tue, 21 Jun 2011 16:40:43 +0000 (UTC) Received: (qmail 31860 invoked by uid 500); 21 Jun 2011 16:40:42 -0000 Delivered-To: apmail-incubator-chukwa-user-archive@incubator.apache.org Received: (qmail 31798 invoked by uid 500); 21 Jun 2011 16:40:42 -0000 Mailing-List: contact chukwa-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-user@incubator.apache.org Delivered-To: mailing list chukwa-user@incubator.apache.org Received: (qmail 31785 invoked by uid 500); 21 Jun 2011 16:40:41 -0000 Delivered-To: apmail-hadoop-chukwa-user@hadoop.apache.org Received: (qmail 31780 invoked by uid 99); 21 Jun 2011 16:40:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 16:40:41 +0000 X-ASF-Spam-Status: No, hits=4.6 required=5.0 tests=HTML_MESSAGE,NO_RDNS_DOTCOM_HELO,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.145.54.171 is neither permitted nor denied by domain of eyang@yahoo-inc.com) Received: from [216.145.54.171] (HELO mrout1.yahoo.com) (216.145.54.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 16:40:32 +0000 Received: from SP2-EX07CAS02.ds.corp.yahoo.com (sp2-ex07cas02.corp.sp2.yahoo.com [98.137.59.38]) by mrout1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id p5LGdwVd040918; Tue, 21 Jun 2011 09:39:58 -0700 (PDT) Received: from SP2-EX07VS05.ds.corp.yahoo.com ([98.137.59.23]) by SP2-EX07CAS02.ds.corp.yahoo.com ([98.137.59.38]) with mapi; Tue, 21 Jun 2011 09:39:58 -0700 From: Eric Yang To: "chukwa-user@incubator.apache.org" , "chukwa-user@hadoop.apache.org" Date: Tue, 21 Jun 2011 09:39:56 -0700 Subject: Re: HBase Exceptions in HICC Thread-Topic: HBase Exceptions in HICC Thread-Index: Acwv07N6F9/6o++aRmeyBWwJYnv55QAXibHR Message-ID: In-Reply-To: <1308633909276-3089326.post@n3.nabble.com> Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_CA26176C1332Eeyangyahooinccom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_CA26176C1332Eeyangyahooinccom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi abhijit, I notice that Hbase 0.90.3 returns a null pointer for empty list. This was= different from 0.20.6 behavior. As a workaround, set time range to last 1= hour, and see if you still get this exception. Please file a JIRA. Thanks Regards, Eric On 6/20/11 10:25 PM, "abhijitdhar" wrote: I'm getting the below error when I try to see SystemMetrics in HICC. I'm using the sigar.SystemMetrics and I also see data in hbase. I got the latest chukwa from trunk. Any clue what might be wrong? 2011-06-21 05:02:10,702 ERROR btpool0-5 ChukwaHBaseStore - java.lang.NullPointerException at org.apache.hadoop.chukwa.datastore.ChukwaHBaseStore.getColumnNamesHelper(Ch= ukwaHBaseStore.java:125) at org.apache.hadoop.chukwa.datastore.ChukwaHBaseStore.getColumnNames(ChukwaHB= aseStore.java:160) at org.apache.hadoop.chukwa.hicc.rest.MetricsController.getColumnNames(Metrics= Controller.java:158) at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp= l.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDisp= atchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvide= r.java:15 6) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatch= er.dispatch(ResourceJavaMethodDispatcher.java:67) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.j= ava:166) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPath= Rule.java:114) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClass= Rule.java:74) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPath= Rule.java:114) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootRes= ourceClassesRule.java:66) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(We= bApplicationImpl.java:658) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(Web= ApplicationImpl.java:616) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(Web= ApplicationImpl.java:607) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java= :309) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContai= ner.java:425) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContai= ner.java:590) 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(ContextHandlerCol= lection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:1= 14) 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(HttpConnecti= on.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:48= 8) -- View this message in context: http://apache-chukwa.679492.n3.nabble.com/HBa= se-Exceptions-in-HICC-tp1938167p3089326.html Sent from the Chukwa - Users mailing list archive at Nabble.com. --_000_CA26176C1332Eeyangyahooinccom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: HBase Exceptions in HICC Hi abhijit,

I notice that Hbase 0.90.3 returns a null pointer for empty list.  Thi= s was different from 0.20.6 behavior.  As a workaround, set time range= to last 1 hour, and see if you still get this exception. Please file a JIR= A.  Thanks

Regards,
Eric

On 6/20/11 10:25 PM, "abhijitdhar" <abhijit.dhar.in@gmail.com> wrote:

I'm getting the below error when I try to s= ee SystemMetrics in HICC.
I'm using the sigar.SystemMetrics and I also see data in hbase. I got the latest chukwa from trunk. Any clue what might be wrong?

2011-06-21 05:02:10,702 ERROR btpool0-5 ChukwaHBaseStore -
java.lang.NullPointerException
        at
org.apache.hadoop.chukwa.datastore.ChukwaHBaseStore.getColumnNamesHelper(Ch= ukwaHBaseStore.java:125)
        at
org.apache.hadoop.chukwa.datastore.ChukwaHBaseStore.getColumnNames(ChukwaHB= aseStore.java:160)
        at
org.apache.hadoop.chukwa.hicc.rest.MetricsController.getColumnNames(Metrics= Controller.java:158)
        at sun.reflect.GeneratedMet= hodAccessor15.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp= l.java:25)
        at java.lang.reflect.Method= .invoke(Method.java:597)
        at
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDisp= atchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvide= r.java:15
6)
        at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatch= er.dispatch(ResourceJavaMethodDispatcher.java:67)
        at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.j= ava:166)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPath= Rule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClass= Rule.java:74)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPath= Rule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootRes= ourceClassesRule.java:66)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(We= bApplicationImpl.java:658)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(Web= ApplicationImpl.java:616)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(Web= ApplicationImpl.java:607)
        at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java= :309)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContai= ner.java:425)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContai= ner.java:590)
        at javax.servlet.http.HttpS= ervlet.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(ContextHandlerCol= lection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:1= 14)
        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(HttpConnecti= on.java:829)
        at org.mortbay.jetty.HttpPa= rser.parseNext(HttpParser.java:513)
        at org.mortbay.jetty.HttpPa= rser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpCo= nnection.handle(HttpConnection.java:380)
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395= )
        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:48= 8)


--
View this message in context: http://apache-chuk= wa.679492.n3.nabble.com/HBase-Exceptions-in-HICC-tp1938167p3089326.html=
Sent from the Chukwa - Users mailing list archive at Nabble.com.

--_000_CA26176C1332Eeyangyahooinccom_--