incubator-chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Yang <ey...@yahoo-inc.com>
Subject Re: No Data available in HICC
Date Wed, 08 Sep 2010 16:22:34 GMT
Hi jj,

>From the exception, it looks like there is no file existed in hdfs://host:port/chukwa/hicc/views/public/default.view.
 Could you verify this file exists?
Are you using hdfs://localhost:9000/ for your name node?  If so, please use the actual hostname
instead.  HDFS name resolution error can occur for hicc when it’s running on a single node
with localhost.

Regards,
Eric

On 9/8/10 8:01 AM, "jj" <zhu121972@163.com> wrote:

hi everyone:
     i also delete all data in HDFS and re-format namenode of hadoop,but
hicc still display No Data available.
in addtion to my hadoop work nomarlly.
     who can help me ,if you have met the same problem.  thank you very
much.
the log in hicc.log:
2010-09-08 07:19:16,056 INFO main ChukwaConfiguration - chukwaConf is
/root/chukwa-0.4.0/conf
2010-09-08 07:19:16,466 INFO main HiccWebServer - Initializing HICC
Datastore.
2010-09-08 07:19:23,735 INFO main HiccWebServer - HICC Datastore
initialization completed.
2010-09-08 07:20:44,543 INFO btpool0-5 ChukwaConfiguration - chukwaConf is
/root/chukwa-0.4.0/conf
2010-09-08 07:20:44,668 INFO btpool0-4 ChukwaConfiguration - chukwaConf is
/root/chukwa-0.4.0/conf
2010-09-08 07:20:45,664 ERROR btpool0-5 ViewBean - org.json.JSONException:
JSONObject["owner"] not found.
        at org.json.JSONObject.get(JSONObject.java:283)
        at org.json.JSONObject.getString(JSONObject.java:409)
        at
org.apache.hadoop.chukwa.rest.bean.ViewBean.<init>(ViewBean.java:56)
        at
org.apache.hadoop.chukwa.datastore.ViewStore.list(ViewStore.java:217)
        at
org.apache.hadoop.chukwa.rest.resource.ViewResource.getUserViewList(ViewReso
urce.java:159)
        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.server.impl.model.method.dispatch.AbstractResourceMethodDispa
tchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.
java:156)
        at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatche
r.dispatch(ResourceJavaMethodDispatcher.java:67)
        at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.ja
va:166)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassR
ule.java:74)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootReso
urceClassesRule.java:66)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(Web
ApplicationImpl.java:658)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:616)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:607)
        at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:
309)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.java:425)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.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(ContextHandlerColl
ection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:11
4)
        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(HttpConnectio
n.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
)

2010-09-08 07:20:45,666 ERROR btpool0-5 ViewStore -
java.text.ParseException: org.json.JSONException: JSONObject["owner"] not
found.
        at org.json.JSONObject.get(JSONObject.java:283)
        at org.json.JSONObject.getString(JSONObject.java:409)
        at
org.apache.hadoop.chukwa.rest.bean.ViewBean.<init>(ViewBean.java:56)
        at
org.apache.hadoop.chukwa.datastore.ViewStore.list(ViewStore.java:217)
        at
org.apache.hadoop.chukwa.rest.resource.ViewResource.getUserViewList(ViewReso
urce.java:159)
        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.server.impl.model.method.dispatch.AbstractResourceMethodDispa
tchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.
java:156)
        at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatche
r.dispatch(ResourceJavaMethodDispatcher.java:67)
        at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.ja
va:166)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassR
ule.java:74)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootReso
urceClassesRule.java:66)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(Web
ApplicationImpl.java:658)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:616)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:607)
        at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:
309)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.java:425)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.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(ContextHandlerColl
ection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:11
4)
        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(HttpConnectio
n.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
)

        at
org.apache.hadoop.chukwa.rest.bean.ViewBean.<init>(ViewBean.java:67)
        at
org.apache.hadoop.chukwa.datastore.ViewStore.list(ViewStore.java:217)
        at
org.apache.hadoop.chukwa.rest.resource.ViewResource.getUserViewList(ViewReso
urce.java:159)
        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.server.impl.model.method.dispatch.AbstractResourceMethodDispa
tchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.
java:156)
        at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatche
r.dispatch(ResourceJavaMethodDispatcher.java:67)
        at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.ja
va:166)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassR
ule.java:74)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootReso
urceClassesRule.java:66)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(Web
ApplicationImpl.java:658)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:616)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:607)
        at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:
309)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.java:425)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.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(ContextHandlerColl
ection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:11
4)
        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(HttpConnectio
n.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
)

2010-09-08 07:20:45,678 ERROR btpool0-5 ViewBean - org.json.JSONException:
JSONObject["owner"] not found.
        at org.json.JSONObject.get(JSONObject.java:283)
        at org.json.JSONObject.getString(JSONObject.java:409)
        at
org.apache.hadoop.chukwa.rest.bean.ViewBean.<init>(ViewBean.java:56)
        at
org.apache.hadoop.chukwa.datastore.ViewStore.list(ViewStore.java:217)
        at
org.apache.hadoop.chukwa.rest.resource.ViewResource.getUserViewList(ViewReso
urce.java:159)
        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.server.impl.model.method.dispatch.AbstractResourceMethodDispa
tchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.
java:156)
        at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatche
r.dispatch(ResourceJavaMethodDispatcher.java:67)
        at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.ja
va:166)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassR
ule.java:74)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootReso
urceClassesRule.java:66)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(Web
ApplicationImpl.java:658)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:616)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:607)
        at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:
309)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.java:425)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.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(ContextHandlerColl
ection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:11
4)
        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(HttpConnectio
n.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
)

2010-09-08 07:20:45,680 ERROR btpool0-5 ViewStore -
java.text.ParseException: org.json.JSONException: JSONObject["owner"] not
found.
        at org.json.JSONObject.get(JSONObject.java:283)
        at org.json.JSONObject.getString(JSONObject.java:409)
        at
org.apache.hadoop.chukwa.rest.bean.ViewBean.<init>(ViewBean.java:56)
        at
org.apache.hadoop.chukwa.datastore.ViewStore.list(ViewStore.java:217)
        at
org.apache.hadoop.chukwa.rest.resource.ViewResource.getUserViewList(ViewReso
urce.java:159)
        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.server.impl.model.method.dispatch.AbstractResourceMethodDispa
tchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.
java:156)
        at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatche
r.dispatch(ResourceJavaMethodDispatcher.java:67)
        at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.ja
va:166)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassR
ule.java:74)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootReso
urceClassesRule.java:66)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(Web
ApplicationImpl.java:658)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:616)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:607)
        at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:
309)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.java:425)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.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(ContextHandlerColl
ection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:11
4)
        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(HttpConnectio
n.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
)

        at
org.apache.hadoop.chukwa.rest.bean.ViewBean.<init>(ViewBean.java:67)
        at
org.apache.hadoop.chukwa.datastore.ViewStore.list(ViewStore.java:217)
        at
org.apache.hadoop.chukwa.rest.resource.ViewResource.getUserViewList(ViewReso
urce.java:159)
        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.server.impl.model.method.dispatch.AbstractResourceMethodDispa
tchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.
java:156)
        at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatche
r.dispatch(ResourceJavaMethodDispatcher.java:67)
        at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.ja
va:166)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassR
ule.java:74)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootReso
urceClassesRule.java:66)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(Web
ApplicationImpl.java:658)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:616)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:607)
        at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:
309)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.java:425)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.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(ContextHandlerColl
ection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:11
4)
        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(HttpConnectio
n.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
)

2010-09-08 07:20:45,712 ERROR btpool0-5 ViewStore - org.json.JSONException:
A JSONObject text must begin with '{' at character 1 of
[{"description":"Default
view","owner":"","permission":{"all":{"modify":1,"read":1}},"key":"default"}
]

        at org.json.JSONTokener.syntaxError(JSONTokener.java:448)
        at org.json.JSONObject.<init>(JSONObject.java:174)
        at org.json.JSONObject.<init>(JSONObject.java:242)
        at
org.apache.hadoop.chukwa.datastore.ViewStore.list(ViewStore.java:217)
        at
org.apache.hadoop.chukwa.rest.resource.ViewResource.getUserViewList(ViewReso
urce.java:159)
        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.server.impl.model.method.dispatch.AbstractResourceMethodDispa
tchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.
java:156)
        at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatche
r.dispatch(ResourceJavaMethodDispatcher.java:67)
        at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.ja
va:166)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassR
ule.java:74)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathR
ule.java:114)
        at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootReso
urceClassesRule.java:66)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(Web
ApplicationImpl.java:658)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:616)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebA
pplicationImpl.java:607)
        at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:
309)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.java:425)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContain
er.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(ContextHandlerColl
ection.java:206)
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:11
4)
        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(HttpConnectio
n.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
)

2010-09-08 07:20:46,173 INFO btpool0-4 WidgetBean - Widget dfs_namenode is
deprecated.
2010-09-08 07:20:46,174 INFO btpool0-4 WidgetBean - Widget dfs_throughput is
deprecated.
2010-09-08 07:20:46,174 INFO btpool0-4 WidgetBean - Widget dfs_datanode is
deprecated.





-----Original Message-----
From: chukwa-user-return-497-zhu121972=163.com@incubator.apache.org
[mailto:chukwa-user-return-497-zhu121972=163.com@incubator.apache.org] On
Behalf Of Rocky X
Sent: Wednesday, September 08, 2010 9:02 AM
To: chukwa-user@incubator.apache.org
Subject: Re: No Data available in HICC

Hi,

I delete all data in HDFS and re-format namenode of hadoop yesterday, now I
find HICC has been running corectly.

Thank Eric, jj<zhu121972@163.com> and all chukwa-user!

于 2010年09月07日 16:28, Rocky X 写道:
> Hi, Eric:
>
> There are some data in system_metrics_*_week, but data not existed in
> cluster_system_metrics_*_week.
> I have only found "cluster selector" in widgets and I select the
> cluster name (I have only one cluster).
> In "Options"->"Add Widget", I try to add some widgets but I found out
> all the widgets have no data.
> For example, I execute select clause:
>
> select count(*) from ClientTrace_2122_week;
> +----------+
> | count(*) |
> +----------+
> | 124 |
> +----------+
> 1 row in set (0.00 sec)
>
> But I add "Hadoop"->"HDFS"->"Client Trace" and there is displaying "No
> Data available".
>
> 于 2010年09月07日 10:06, Eric Yang 写道:
>
>> Hi,
>>
>> For data in MySQL, does data exist for system_metrics_*_week or
>> cluster_systetm_metrics_*_week?  If data exists in
>> system_metrics_*_week, then you probably need to select a host in
>> Host Selection widget, and click Apply to see metrics for selected host.
>> If data exists in cluster_system_metrics_*_week, then data should
>> render for the default view.  cluster_system_metrics_*_week is not
>> automatically populated unless you run dbAdmin.sh in the background,
>> which will cause SQL based aggregation to happen every 5 minutes.
>> Hope this helps.
>>
>> regards,
>> Eric
>>
>> For the default page, it uses data that is aggregated in MySQL.
>> Could you On Mon, Sep 6, 2010 at 5:47 PM, Rocky X <xuyj@neusoft.com>
wrote:
>>
>>
>>> I see, and I can start HICC using command "$CHUKWA_HOME/bin/chukwa
hicc".
>>> But I can not get data to display in HICC, and there are displaying
>>> "No Data available", and I am sure the data existing in MySQL
>>> database.
>>>
>>> 于 2010年09月07日 05:36, Eric Yang 写道:
>>>
>>>
>>>> Hi guys,
>>>>
>>>> HICC has been converted to run in jetty as a standalone webapp
>>>> without tomcat.  Run:
>>>>
>>>> ./bin/chukwa hicc
>>>>
>>>> This should start up hicc on port 8080.  If it doesn't, show us
>>>> what is written to CHUKWA_HOME/var/log/hicc.log.
>>>>
>>>> regards,
>>>> Eric
>>>>
>>>> On Mon, Sep 6, 2010 at 4:50 AM, jj<zhu121972@163.com>  wrote:
>>>>
>>>>
>>>>
>>>>>  Hi Yanjun Xu:
>>>>>
>>>>>         The first question,you should copy dbAdmin.sh from Chukwa
>>>>> 0.3 and put in chukwa-0.4.0/bin directory, This may be caused by
>>>>> lacking of dbAdmin.sh running.
>>>>>
>>>>>          The second question which  I  also have met and  so far
>>>>> it have not been solved.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> From:
>>>>> chukwa-user-return-491-zhu121972=163.com@incubator.apache.org
>>>>> [mailto:chukwa-user-return-491-zhu121972=163.com@incubator.apache.
>>>>> org] On Behalf Of Yanjun Xu
>>>>> Sent: Monday, September 06, 2010 1:03 PM
>>>>> To: chukwa-user
>>>>> Subject: No Data available in HICC
>>>>>
>>>>>
>>>>>
>>>>> I install chukwa 0.4.0 on the description of admin guide, and now
>>>>> the each parts of chukwa can run smoothly, but there are
>>>>> displaying "No Data available" in HICC.
>>>>>
>>>>>
>>>>>
>>>>> In log file postprocess.log I find some table--just like
>>>>> 'mycluster.filesystem_fsm_2122_week' does not exist, and I create
>>>>> them in MySQL database manually from templates imported from file
>>>>> $CHUKWA_HOME/conf/database_create_tables.sql. Some tables like
>>>>> 'ClientTrace_2122_week ' have data, and some table--especially
>>>>> 'cluster_*_2122_week' has no data.
>>>>>
>>>>>
>>>>>
>>>>> I start HICC using command "$CHUKWA_HOME/bin/chukwa hicc", and
>>>>> there seem some mistakes in the description about 'start HICC' in
>>>>> the admin guide, I can not start hicc when I copy hicc.war to the
>>>>> tomcat's webapps directory.
>>>>> The HICC time zone is 'UTC'.
>>>>>
>>>>>
>>>>>
>>>>> I have some questions as follows:
>>>>>
>>>>>
>>>>>
>>>>> 1. How to automatically creating table in MySQL database in chukwa
>>>>> 0.4.0 ?
>>>>>
>>>>>
>>>>>
>>>>> 2. How to display data in HICC ?
>>>>>
>>>>>
>>>>>
>>>>> 2010-09-06
>>>>>
>>>>> ________________________________
>>>>>
>>>>> Yanjun Xu
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> ---------------------------------
>>>>>
>>>>> Confidentiality Notice: The information contained in this e-mail
>>>>> and any accompanying attachment(s)
>>>>>
>>>>> is intended only for the use of the intended recipient and may be
>>>>> confidential and/or privileged of
>>>>>
>>>>> Neusoft Corporation, its subsidiaries and/or its affiliates. If
>>>>> any reader of this communication is
>>>>>
>>>>> not the intended recipient, unauthorized use, forwarding,
>>>>> printing, storing, disclosure or copying
>>>>>
>>>>> is strictly prohibited, and may be unlawful.If you have received
>>>>> this communication in error,please
>>>>>
>>>>> immediately notify the sender by return e-mail, and delete the
>>>>> original message and all copies from
>>>>>
>>>>> your system. Thank you.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> ---------------------------------
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>> --------------------------------------------------------------------
>>> ------------------------------- Confidentiality Notice: The
>>> information contained in this e-mail and any accompanying
>>> attachment(s) is intended only for the use of the intended recipient
>>> and may be confidential and/or privileged of Neusoft Corporation,
>>> its subsidiaries and/or its affiliates. If any reader of this
>>> communication is not the intended recipient, unauthorized use,
>>> forwarding, printing,  storing, disclosure or copying is strictly
>>> prohibited, and may be unlawful.If you have received this
>>> communication in error,please immediately notify the sender by
>>> return e-mail, and delete the original message and all copies from your
system. Thank you.
>>> --------------------------------------------------------------------
>>> -------------------------------
>>>
>>>
>>>
>>
>>
> ----------------------------------------------------------------------
> ----------------------------- Confidentiality Notice: The information
> contained in this e-mail and any accompanying attachment(s) is
> intended only for the use of the intended recipient and may be
> confidential and/or privileged of Neusoft Corporation, its
> subsidiaries and/or its affiliates. If any reader of this
> communication is not the intended recipient, unauthorized use,
> forwarding, printing,  storing, disclosure or copying is strictly
> prohibited, and may be unlawful.If you have received this communication in
error,please immediately notify the sender by return e-mail, and delete the
original message and all copies from your system. Thank you.
> ----------------------------------------------------------------------
> -----------------------------
>
----------------------------------------------------------------------------
-----------------------
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation,
its subsidiaries and/or its affiliates. If any reader of this communication
is not the intended recipient, unauthorized use, forwarding, printing,
storing, disclosure or copying is strictly prohibited, and may be
unlawful.If you have received this communication in error,please immediately
notify the sender by return e-mail, and delete the original message and all
copies from your system. Thank you.
----------------------------------------------------------------------------
-----------------------




Mime
View raw message