Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Chukwa >> mail # user >> Re: Re: hicc error "Error in loading dashboard"


+
dianbo.zhu 2012-06-28, 02:19
+
Eric Yang 2012-06-28, 06:21
+
Dimboo Zhu 2012-06-27, 08:06
Copy link to this message
-
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)
>     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)
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB