Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Chukwa, mail # user - hicc error "Error in loading dashboard"


Copy link to this message
-
Re: Re: hicc error "Error in loading dashboard"
Eric Yang 2012-06-28, 06:21
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]> 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)