incubator-chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Yang <eric...@gmail.com>
Subject Re: Re: hicc error "Error in loading dashboard"
Date Thu, 28 Jun 2012 06:21:24 GMT
There are certain disabled widget in /chukwa/hicc/widgets in disabled
directory.  This is probably triggering the null pointer exception.
Feel free to remove the disabled directory and the problem should
resolve.

regards,
Eric

On Wed, Jun 27, 2012 at 7:19 PM, dianbo.zhu <dianbo.zhu@gmail.com> wrote:
> Hi Eric,
>
> I removed the folder hicc in hdfs and restarted hicc, then it worked.
> Now it complains "java.text.ParseException: java.lang.NullPointerException "
> at org.apache.hadoop.chukwa.rest.bean.WidgetBean.<init>(WidgetBean.java:55),
> and i think it should because of no record in hbase tables. i will test more
> about this.
>
> Thanks very much and best regards to you!
>
> ________________________________
> Dianbau
>
> From: Eric Yang
> Date: 2012-06-27 22:57
> To: chukwa-user@incubator.apache.org
> CC: chukwa-user@incubator.apache.org
> Subject: Re: hicc error "Error in loading dashboard"
> Hi,
>
> It looks like HICC rest API can not access /chukwa/hicc/views/*.
> Make sure that HDFS is read/writable for HICC.  There are two possibilities,
> either Hadoop conf dir is not defend in chukwa-env.sh or the file permission
> of HDFS is not setup for chukwa user.
>
> Sent from my iPhone
>
> On Jun 27, 2012, at 1:06 AM, Dimboo Zhu <dianbo.zhu@gmail.com> wrote:
>
> Hi all,
>
> when startup hicc, i get the following errors. In browser, it prompts "Error
> in loading dashboard".
> Any suggestions about this? Thanks very much.
>
> Dianbau
>
> 2012-06-27 15:52:13,210 INFO main ChukwaConfiguration - chukwaConf is
> /local/bbdw/hadoop/chukwa-incubating-0.5.0/etc/chukwa
> 2012-06-27 15:52:14,458 INFO main log - Logging to
> org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via
> org.mortbay.log.Slf4jLog
> 2012-06-27 15:52:14,541 INFO main log - jetty-6.1.26
> 2012-06-27 15:52:14,616 INFO main log - Extract
> file:/local/bbdw/hadoop/chukwa-incubating-0.5.0/share/chukwa/webapps/hicc.war
> to /tmp/Jetty_0_0_0_0_4080_hicc.war__hicc__z3a3th/webapp
> 2012-06-27 15:52:18,552 INFO main log - Opened
> /local/bbdw/hadoop/chukwa-incubating-0.5.0/logs/2012_06_27.request.log
> 2012-06-27 15:52:18,565 INFO main log - Started
> SelectChannelConnector@0.0.0.0:4080
> 2012-06-27 15:52:51,888 INFO 6781414@qtp-23738549-2 ChukwaConfiguration -
> chukwaConf is /local/bbdw/hadoop/chukwa-incubating-0.5.0/etc/chukwa
> 2012-06-27 15:52:52,219 ERROR 22375698@qtp-23738549-5 log -
> /hicc/v1/view/vid/default
> java.lang.NullPointerException
>     at
> org.apache.hadoop.chukwa.rest.resource.ViewResource.getView(ViewResource.java:54)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>     at
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
>     at
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
>     at
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
>     at
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>     at
> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
>     at
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>     at
> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
>     at
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
>     at
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
>     at
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
>     at
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
>     at
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
>     at
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
>     at
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>     at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>     at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
>     at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>     at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>     at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>     at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>     at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>     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:326)
>     at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>     at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
>     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>     at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
>     at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

Mime
View raw message