You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@chukwa.apache.org by Yanjun Xu <xu...@neusoft.com> on 2010/09/06 07:03:10 UTC

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. 
---------------------------------------------------------------------------------------------------

RE: No Data available in HICC

Posted by jj <zh...@163.com>.
Hi eric:

        I have change the localhost to actual hostname,the hicc still
display “ no data avaiable”,the picture  of which is in attachment.

 

From: chukwa-user-return-504-zhu121972=163.com@incubator.apache.org
[mailto:chukwa-user-return-504-zhu121972=163.com@incubator.apache.org] On
Behalf Of Eric Yang
Sent: Friday, September 10, 2010 12:24 AM
To: chukwa-user@incubator.apache.org
Subject: Re: No Data available in HICC

 

There is a bug in hdfs client where it sometimes resolve the file path to
localhost instead of 127.0.0.1, when localhost or 127.0.0.1 is used.  HDFS
Client would assume there is a mismatch between localhost and 127.0.0.1.
Hence, it doesn’t work.
For single node, please change your hadoop configuration to fs.default.name
to the actual hostname with a non-loopback IP address that DNS or /etc/hosts
file could resolve.  Remember to reformat namenode after fs.default.name
change.

Regards,
Eric

On 9/9/10 6:24 AM, "jj" <zh...@163.com> wrote:

HI eric:
    My configuration built in  a single node
     The default.view existed in hdfs.
    I tried to change hdfs://localhost:9000/ to hdfs://127.0.0.1:9000/,but
the hicc.log display show another error
The log is :
2010-09-09 06:00:00,618 INFO btpool0-7 ChukwaConfiguration - chukwaConf is
/root/chukwa-0.4.0/conf
2010-09-09 06:09:09,050 INFO main ChukwaConfiguration - chukwaConf is
/root/chukwa-0.4.0/conf
2010-09-09 06:09:11,734 ERROR main HiccWebServer -
java.lang.IllegalArgumentException: Wrong FS:
hdfs://127.0.0.1:9000/chukwa/hicc, expected: hdfs://localhost:9000
                at
org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
                at
org.apache.hadoop.hdfs.DistributedFileSystem.checkPath(DistributedFileSystem
.java:99)
                at
org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSyst
em.java:155)
                at
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSy
stem.java:453)
                at
org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:648)
                at
org.apache.hadoop.chukwa.hicc.HiccWebServer.setupDefaultData(HiccWebServer.j
ava:167)
                at
org.apache.hadoop.chukwa.hicc.HiccWebServer.start(HiccWebServer.java:92)
                at
org.apache.hadoop.chukwa.hicc.HiccWebServer.main(HiccWebServer.java:240)


From: chukwa-user-return-501-zhu121972=163.com@incubator.apache.org
[mailto:chukwa-user-return-501-zhu121972=163.com@incubator.apache.org] On
Behalf Of Eric Yang
Sent: Thursday, September 09, 2010 12:23 AM
To: chukwa-user@incubator.apache.org; Rocky X
Subject: Re: No Data available in HICC

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" <zh...@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<zh...@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 <xu...@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<zh...@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.
----------------------------------------------------------------------------
-----------------------





Re: No Data available in HICC

Posted by Eric Yang <ey...@yahoo-inc.com>.
There is a bug in hdfs client where it sometimes resolve the file path to localhost instead of 127.0.0.1, when localhost or 127.0.0.1 is used.  HDFS Client would assume there is a mismatch between localhost and 127.0.0.1.  Hence, it doesn’t work.
For single node, please change your hadoop configuration to fs.default.name to the actual hostname with a non-loopback IP address that DNS or /etc/hosts file could resolve.  Remember to reformat namenode after fs.default.name change.

Regards,
Eric

On 9/9/10 6:24 AM, "jj" <zh...@163.com> wrote:

HI eric:
    My configuration built in  a single node
     The default.view existed in hdfs.
    I tried to change hdfs://localhost:9000/ to hdfs://127.0.0.1:9000/,but the hicc.log display show another error
The log is :
2010-09-09 06:00:00,618 INFO btpool0-7 ChukwaConfiguration - chukwaConf is /root/chukwa-0.4.0/conf
2010-09-09 06:09:09,050 INFO main ChukwaConfiguration - chukwaConf is /root/chukwa-0.4.0/conf
2010-09-09 06:09:11,734 ERROR main HiccWebServer - java.lang.IllegalArgumentException: Wrong FS: hdfs://127.0.0.1:9000/chukwa/hicc, expected: hdfs://localhost:9000
                at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)
                at org.apache.hadoop.hdfs.DistributedFileSystem.checkPath(DistributedFileSystem.java:99)
                at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:155)
                at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:453)
                at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:648)
                at org.apache.hadoop.chukwa.hicc.HiccWebServer.setupDefaultData(HiccWebServer.java:167)
                at org.apache.hadoop.chukwa.hicc.HiccWebServer.start(HiccWebServer.java:92)
                at org.apache.hadoop.chukwa.hicc.HiccWebServer.main(HiccWebServer.java:240)


From: chukwa-user-return-501-zhu121972=163.com@incubator.apache.org [mailto:chukwa-user-return-501-zhu121972=163.com@incubator.apache.org] On Behalf Of Eric Yang
Sent: Thursday, September 09, 2010 12:23 AM
To: chukwa-user@incubator.apache.org; Rocky X
Subject: Re: No Data available in HICC

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" <zh...@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<zh...@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 <xu...@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<zh...@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.
----------------------------------------------------------------------------
-----------------------




RE: No Data available in HICC

Posted by jj <zh...@163.com>.
HI eric:

    My configuration built in  a single node

     The default.view existed in hdfs.

    I tried to change hdfs://localhost:9000/ to hdfs://127.0.0.1:9000/,but
the hicc.log display show another error

The log is :

2010-09-09 06:00:00,618 INFO btpool0-7 ChukwaConfiguration - chukwaConf is
/root/chukwa-0.4.0/conf

2010-09-09 06:09:09,050 INFO main ChukwaConfiguration - chukwaConf is
/root/chukwa-0.4.0/conf

2010-09-09 06:09:11,734 ERROR main HiccWebServer -
java.lang.IllegalArgumentException: Wrong FS:
hdfs://127.0.0.1:9000/chukwa/hicc, expected: hdfs://localhost:9000

                at
org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310)

                at
org.apache.hadoop.hdfs.DistributedFileSystem.checkPath(DistributedFileSystem
.java:99)

                at
org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSyst
em.java:155)

                at
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSy
stem.java:453)

                at
org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:648)

                at
org.apache.hadoop.chukwa.hicc.HiccWebServer.setupDefaultData(HiccWebServer.j
ava:167)

                at
org.apache.hadoop.chukwa.hicc.HiccWebServer.start(HiccWebServer.java:92)

                at
org.apache.hadoop.chukwa.hicc.HiccWebServer.main(HiccWebServer.java:240)

 

From: chukwa-user-return-501-zhu121972=163.com@incubator.apache.org
[mailto:chukwa-user-return-501-zhu121972=163.com@incubator.apache.org] On
Behalf Of Eric Yang
Sent: Thursday, September 09, 2010 12:23 AM
To: chukwa-user@incubator.apache.org; Rocky X
Subject: Re: No Data available in HICC

 

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" <zh...@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<zh...@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 <xu...@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<zh...@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.
----------------------------------------------------------------------------
-----------------------





Re: No Data available in HICC

Posted by Eric Yang <ey...@yahoo-inc.com>.
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" <zh...@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<zh...@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 <xu...@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<zh...@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.
----------------------------------------------------------------------------
-----------------------




RE: No Data available in HICC

Posted by jj <zh...@163.com>.
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<zh...@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 <xu...@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<zh...@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. 
----------------------------------------------------------------------------
-----------------------



Re: No Data available in HICC

Posted by Rocky X <xu...@neusoft.com>.
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<zh...@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 <xu...@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<zh...@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. 
---------------------------------------------------------------------------------------------------

Re: setting collector on a remote machine

Posted by Bill Graham <bi...@gmail.com>.
Yes, you can run the collector on any host with network access to
HDFS. Verify that HADOOP_HOME and HADOOP_CONF_DIR are properly set in
chukwa-env.sh. Also verify that you can connect to hadoop from the
command line with those environment variables set.

On Tuesday, September 7, 2010, Shreya Chakravarty
<sh...@persistent.co.in> wrote:
> Hi,
>
> We want to setup a collector on a non HDFS machine
> Is that possible? Will the collector be able to send data to hdfs, we tried setting the writer.hdfs.filesystem property to point to the hdfs master, but getting the following error:
>
>
> 2010-09-07 05:53:11,153 INFO main ChukwaConfiguration - chukwaConf is /home/hadoop/chukwa-0.4.0/conf/
> 2010-09-07 05:53:12,721 INFO main root - initing servletCollector
> 2010-09-07 05:53:12,727 INFO main PipelineStageWriter - using pipelined writers, pipe length is 2
> 2010-09-07 05:53:12,751 INFO Thread-9 SocketTeeWriter - listen thread started
> 2010-09-07 05:53:12,755 INFO main SeqFileWriter - rotateInterval is 300000
> 2010-09-07 05:53:12,755 INFO main SeqFileWriter - outputDir is /chukwa/logs/
> 2010-09-07 05:53:12,755 INFO main SeqFileWriter - fsname is iaas-1-0-16-3e-b7-d1-29:54310
> 2010-09-07 05:53:12,756 INFO main SeqFileWriter - filesystem type from core-default.xml is org.apache.hadoop.hdfs.DistributedFileSystem
> 2010-09-07 05:53:12,860 ERROR main SeqFileWriter - can't connect to HDFS, trying default file system instead (likely to be local)
> java.io.IOException: No FileSystem for scheme: iaas-1-0-16-3e-b7-d1-29
>         at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1375)
>         at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
>         at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390)
>         at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196)
>         at org.apache.hadoop.chukwa.datacollection.writer.SeqFileWriter.init(SeqFileWriter.java:123)
>         at org.apache.hadoop.chukwa.datacollection.writer.PipelineStageWriter.init(PipelineStageWriter.java:88)
>         at org.apache.hadoop.chukwa.datacollection.collector.servlet.ServletCollector.init(ServletCollector.java:112)
>         at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
>         at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
>         at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>         at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
>         at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
>         at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
>         at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>         at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
>         at org.mortbay.jetty.Server.doStart(Server.java:224)
>         at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>         at org.apache.hadoop.chukwa.datacollection.collector.CollectorStub.main(CollectorStub.java:121)
>
> Regards
> Shreya
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
>

setting collector on a remote machine

Posted by Shreya Chakravarty <sh...@persistent.co.in>.
Hi,

We want to setup a collector on a non HDFS machine 
Is that possible? Will the collector be able to send data to hdfs, we tried setting the writer.hdfs.filesystem property to point to the hdfs master, but getting the following error:


2010-09-07 05:53:11,153 INFO main ChukwaConfiguration - chukwaConf is /home/hadoop/chukwa-0.4.0/conf/
2010-09-07 05:53:12,721 INFO main root - initing servletCollector
2010-09-07 05:53:12,727 INFO main PipelineStageWriter - using pipelined writers, pipe length is 2
2010-09-07 05:53:12,751 INFO Thread-9 SocketTeeWriter - listen thread started
2010-09-07 05:53:12,755 INFO main SeqFileWriter - rotateInterval is 300000
2010-09-07 05:53:12,755 INFO main SeqFileWriter - outputDir is /chukwa/logs/
2010-09-07 05:53:12,755 INFO main SeqFileWriter - fsname is iaas-1-0-16-3e-b7-d1-29:54310
2010-09-07 05:53:12,756 INFO main SeqFileWriter - filesystem type from core-default.xml is org.apache.hadoop.hdfs.DistributedFileSystem
2010-09-07 05:53:12,860 ERROR main SeqFileWriter - can't connect to HDFS, trying default file system instead (likely to be local)
java.io.IOException: No FileSystem for scheme: iaas-1-0-16-3e-b7-d1-29
        at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1375)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196)
        at org.apache.hadoop.chukwa.datacollection.writer.SeqFileWriter.init(SeqFileWriter.java:123)
        at org.apache.hadoop.chukwa.datacollection.writer.PipelineStageWriter.init(PipelineStageWriter.java:88)
        at org.apache.hadoop.chukwa.datacollection.collector.servlet.ServletCollector.init(ServletCollector.java:112)
        at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
        at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:224)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.apache.hadoop.chukwa.datacollection.collector.CollectorStub.main(CollectorStub.java:121)

Regards
Shreya

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

Re: No Data available in HICC

Posted by Rocky X <xu...@neusoft.com>.
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 <xu...@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<zh...@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. 
---------------------------------------------------------------------------------------------------

Re: No Data available in HICC

Posted by Eric Yang <er...@gmail.com>.
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 <xu...@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<zh...@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.
> ---------------------------------------------------------------------------------------------------
>

Re: No Data available in HICC

Posted by Rocky X <xu...@neusoft.com>.
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<zh...@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. 
---------------------------------------------------------------------------------------------------

Re: No Data available in HICC

Posted by Eric Yang <er...@gmail.com>.
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 <zh...@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.
>
> ---------------------------------------------------------------------------------------------------

RE: No Data available in HICC

Posted by jj <zh...@163.com>.
 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. 
----------------------------------------------------------------------------
-----------------------