incubator-chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prakhar Srivastava <prakhar....@gmail.com>
Subject Re: Unable to start hicc
Date Tue, 22 May 2012 15:24:25 GMT
Hi Eric,
Thanks for the response.

The hicc running user is the hadoop user. So read/write permissions are
fine. I anyways changed hicc permissions to 777.
*The hicc directory looks like:*
*Name*
*Type*
*Size*
*Replication*
*Block Size*
*Modification Time*
*Permission*
*Owner*
*Group*
*views<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fviews&namenodeInfoPort=50070>
*
*dir*
**
**
**
*2012-05-15 17:11*
*rwxrwxrwx*
*hadoop*
*supergroup*
*widgets<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets&namenodeInfoPort=50070>
*
*dir*
**
**
**
*2012-05-15 17:11*
*rwxrwxrwx*
*hadoop*
*supergroup
*

*The views directory*
*Name*
*Type*
*Size*
*Replication*
*Block Size*
*Modification Time*
*Permission*
*Owner*
*Group*
*public<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fviews%2Fpublic&namenodeInfoPort=50070>
*
*dir*
**
**
**
*2012-05-15 17:11*
*rwxrwxrwx*
*hadoop*
*supergroup*
*users<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fviews%2Fusers&namenodeInfoPort=50070>
*
*dir*
**
**
**
*2012-05-15 17:11*
*rwxrwxrwx*
*hadoop*
*supergroup
*
*the public directory*
*Name*
*Type*
*Size*
*Replication*
*Block Size*
*Modification Time*
*Permission*
*Owner*
*Group*
*default.view<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fviews%2Fpublic%2Fdefault.view&namenodeInfoPort=50070>
*
*file*
*29.66 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*newview.tpl<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fviews%2Fpublic%2Fnewview.tpl&namenodeInfoPort=50070>
*
*file*
*0.23 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*view.permission<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fviews%2Fpublic%2Fview.permission&namenodeInfoPort=50070>
*
*file*
*0.04 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*workspace_view_list.cache<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fviews%2Fpublic%2Fworkspace_view_list.cache&namenodeInfoPort=50070>
*
*file*
*0.1 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup
*



*and the widget directory*
*cluster_metrics.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Fcluster_metrics.descriptor&namenodeInfoPort=50070>
*
*file*
*3.54 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*cluster_selector.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Fcluster_selector.descriptor&namenodeInfoPort=50070>
*
*file*
*0.32 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*debug.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Fdebug.descriptor&namenodeInfoPort=50070>
*
*file*
*0.25 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*dfs_datanode.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Fdfs_datanode.descriptor&namenodeInfoPort=50070>
*
*file*
*4.78 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*dfs_fsnamesystem.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Fdfs_fsnamesystem.descriptor&namenodeInfoPort=50070>
*
*file*
*2.36 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*dfs_namenode.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Fdfs_namenode.descriptor&namenodeInfoPort=50070>
*
*file*
*3.53 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*disabled<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Fdisabled&namenodeInfoPort=50070>
*
*file*
*0 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*event_viewer.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Fevent_viewer.descriptor&namenodeInfoPort=50070>
*
*file*
*0.43 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*graph_explorer.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Fgraph_explorer.descriptor&namenodeInfoPort=50070>
*
*file*
*0.79 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*hadoop_mapred.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Fhadoop_mapred.descriptor&namenodeInfoPort=50070>
*
*file*
*2.34 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*host_selector.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Fhost_selector.descriptor&namenodeInfoPort=50070>
*
*file*
*0.45 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*system_metrics.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Fsystem_metrics.descriptor&namenodeInfoPort=50070>
*
*file*
*5.34 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*time.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Ftime.descriptor&namenodeInfoPort=50070>
*
*file*
*0.54 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*
*utilization.descriptor<http://binn1.clickablecorp.com:50075/browseDirectory.jsp?dir=%2Fchukwa%2Fhicc%2Fwidgets%2Futilization.descriptor&namenodeInfoPort=50070>
*
*file*
*1.15 KB*
*3*
*64 MB*
*2012-05-15 17:11*
*rw-rw-rw-*
*hadoop*
*supergroup*

The HDFS version is 1.0.0. It exactly matches the hadoop jar file version
in share/chukwa/lib.

The HADOOP_CONF_DIR is defined in chukwa-env.sh

Thanks,
Prakhar

On Tue, May 22, 2012 at 10:21 AM, Eric Yang <eric818@gmail.com> wrote:

> Base on the stacktrace, it looks like the descriptor file reading from
> hdfs contains invalid json.
> Does hicc running user have access to read/write from
> hdfs://host:port/chukwa/hicc?
> What does the directory looks like in hdfs?  In addition, what is the
> hdfs version?  Does it match
> hadoop jar file in chukwa lib?  Is HADOOP_CONF_DIR in the classpath?
>
> regards,
> Eric
>
> On Mon, May 21, 2012 at 12:41 AM, Prakhar Srivastava
> <prakhar.apj@gmail.com> wrote:
> > Hi Eric,
> >
> > After struggling through the above error for an hour or two. I found out
> > that there was a conflict between jersey available through jersey bundle
> and
> > one that is available through hbase-0.92.0. So i had to add some
> exclusions
> > in the pom.xml which resolved the above issue. I have raised a jira issue
> > and suggests including the exclusions in the pom.xml. Lets me know if
> will
> > have any regressions.
> >  CHUKWA-643 - Hicc builds with conflicting jar dependencies
> >
> >
> > However, I am still facing the exception below in using hicc. The HICC
> > dashboard components loads fine but there are no values/populated
> charts. I
> > am only able to see the Job summary (Hadoop jobs run since last X time).
> >
> > 2012-05-21 12:50:53,190 INFO 1638726193@qtp-494299142-4ChukwaConfiguration
> > - chukwaConf is /usr/local/chukwa-incubating-0.5.0/etc/chukwa
> > 2012-05-21 12:50:53,449 INFO 1790591505@qtp-494299142-7ChukwaConfiguration
> > - chukwaConf is /usr/local/chukwa-incubating-0.5.0/etc/chukwa
> > 2012-05-21 12:50:53,573 ERROR 1790591505@qtp-494299142-7 WidgetBean -
> > java.lang.NullPointerException
> > at
> org.apache.hadoop.chukwa.rest.bean.WidgetBean.<init>(WidgetBean.java:55)
> > at
> >
> org.apache.hadoop.chukwa.datastore.WidgetStore.cacheWidgets(WidgetStore.java:98)
> > at
> org.apache.hadoop.chukwa.datastore.WidgetStore.list(WidgetStore.java:121)
> > at
> org.apache.hadoop.chukwa.rest.bean.WidgetBean.update(WidgetBean.java:158)
> > at
> org.apache.hadoop.chukwa.rest.bean.ColumnBean.update(ColumnBean.java:63)
> > at org.apache.hadoop.chukwa.rest.bean.PagesBean.update(PagesBean.java:83)
> > at org.apache.hadoop.chukwa.rest.bean.ViewBean.update(ViewBean.java:127)
> > at org.apache.hadoop.chukwa.datastore.ViewStore.load(ViewStore.java:92)
> > at org.apache.hadoop.chukwa.datastore.ViewStore.<init>(ViewStore.java:61)
> > at
> >
> org.apache.hadoop.chukwa.rest.resource.ViewResource.getView(ViewResource.java:52)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
> > at
> >
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> > at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> > at
> >
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> > at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> > at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> > at
> >
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> > at
> >
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> > at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> > at org.mortbay.jetty.Server.handle(Server.java:326)
> > at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> > at
> >
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> > at
> >
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> > at
> >
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> >
> > 2012-05-21 12:50:53,575 ERROR 1790591505@qtp-494299142-7 WidgetStore -
> > java.text.ParseException: java.lang.NullPointerException
> > at
> org.apache.hadoop.chukwa.rest.bean.WidgetBean.<init>(WidgetBean.java:55)
> > at
> >
> org.apache.hadoop.chukwa.datastore.WidgetStore.cacheWidgets(WidgetStore.java:98)
> > at
> org.apache.hadoop.chukwa.datastore.WidgetStore.list(WidgetStore.java:121)
> > at
> org.apache.hadoop.chukwa.rest.bean.WidgetBean.update(WidgetBean.java:158)
> > at
> org.apache.hadoop.chukwa.rest.bean.ColumnBean.update(ColumnBean.java:63)
> > at org.apache.hadoop.chukwa.rest.bean.PagesBean.update(PagesBean.java:83)
> > at org.apache.hadoop.chukwa.rest.bean.ViewBean.update(ViewBean.java:127)
> > at org.apache.hadoop.chukwa.datastore.ViewStore.load(ViewStore.java:92)
> > at org.apache.hadoop.chukwa.datastore.ViewStore.<init>(ViewStore.java:61)
> > at
> >
> org.apache.hadoop.chukwa.rest.resource.ViewResource.getView(ViewResource.java:52)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
> > at
> >
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> > at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> > at
> >
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> > at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> > at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> > at
> >
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> > at
> >
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> > at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> > at org.mortbay.jetty.Server.handle(Server.java:326)
> > at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> > at
> >
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> > at
> >
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> > at
> >
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> >
> > at
> org.apache.hadoop.chukwa.rest.bean.WidgetBean.<init>(WidgetBean.java:80)
> > at
> >
> org.apache.hadoop.chukwa.datastore.WidgetStore.cacheWidgets(WidgetStore.java:98)
> > at
> org.apache.hadoop.chukwa.datastore.WidgetStore.list(WidgetStore.java:121)
> > at
> org.apache.hadoop.chukwa.rest.bean.WidgetBean.update(WidgetBean.java:158)
> > at
> org.apache.hadoop.chukwa.rest.bean.ColumnBean.update(ColumnBean.java:63)
> > at org.apache.hadoop.chukwa.rest.bean.PagesBean.update(PagesBean.java:83)
> > at org.apache.hadoop.chukwa.rest.bean.ViewBean.update(ViewBean.java:127)
> > at org.apache.hadoop.chukwa.datastore.ViewStore.load(ViewStore.java:92)
> > at org.apache.hadoop.chukwa.datastore.ViewStore.<init>(ViewStore.java:61)
> > at
> >
> org.apache.hadoop.chukwa.rest.resource.ViewResource.getView(ViewResource.java:52)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
> > at
> >
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> > at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> > at
> >
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> > at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> > at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> > at
> >
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> > at
> >
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> > at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> > at org.mortbay.jetty.Server.handle(Server.java:326)
> > at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> > at
> >
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> > at
> >
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> > at
> >
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> >
> > 2012-05-21 12:50:53,621 ERROR 1790591505@qtp-494299142-7 WidgetBean -
> > java.lang.NullPointerException
> > at
> org.apache.hadoop.chukwa.rest.bean.WidgetBean.<init>(WidgetBean.java:55)
> > at
> >
> org.apache.hadoop.chukwa.datastore.WidgetStore.cacheWidgets(WidgetStore.java:98)
> > at
> org.apache.hadoop.chukwa.datastore.WidgetStore.list(WidgetStore.java:121)
> > at
> org.apache.hadoop.chukwa.rest.bean.WidgetBean.update(WidgetBean.java:158)
> > at
> org.apache.hadoop.chukwa.rest.bean.ColumnBean.update(ColumnBean.java:63)
> > at org.apache.hadoop.chukwa.rest.bean.PagesBean.update(PagesBean.java:83)
> > at org.apache.hadoop.chukwa.rest.bean.ViewBean.update(ViewBean.java:127)
> > at org.apache.hadoop.chukwa.datastore.ViewStore.load(ViewStore.java:92)
> > at org.apache.hadoop.chukwa.datastore.ViewStore.<init>(ViewStore.java:61)
> > at
> >
> org.apache.hadoop.chukwa.rest.resource.ViewResource.getView(ViewResource.java:52)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
> > at
> >
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> > at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> > at
> >
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> > at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> > at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> > at
> >
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> > at
> >
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> > at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> > at org.mortbay.jetty.Server.handle(Server.java:326)
> > at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> > at
> >
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> > at
> >
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> > at
> >
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> >
> > 2012-05-21 12:50:53,626 ERROR 1790591505@qtp-494299142-7 WidgetStore -
> > java.text.ParseException: java.lang.NullPointerException
> > at
> org.apache.hadoop.chukwa.rest.bean.WidgetBean.<init>(WidgetBean.java:55)
> > at
> >
> org.apache.hadoop.chukwa.datastore.WidgetStore.cacheWidgets(WidgetStore.java:98)
> > at
> org.apache.hadoop.chukwa.datastore.WidgetStore.list(WidgetStore.java:121)
> > at
> org.apache.hadoop.chukwa.rest.bean.WidgetBean.update(WidgetBean.java:158)
> > at
> org.apache.hadoop.chukwa.rest.bean.ColumnBean.update(ColumnBean.java:63)
> > at org.apache.hadoop.chukwa.rest.bean.PagesBean.update(PagesBean.java:83)
> > at org.apache.hadoop.chukwa.rest.bean.ViewBean.update(ViewBean.java:127)
> > at org.apache.hadoop.chukwa.datastore.ViewStore.load(ViewStore.java:92)
> > at org.apache.hadoop.chukwa.datastore.ViewStore.<init>(ViewStore.java:61)
> > at
> >
> org.apache.hadoop.chukwa.rest.resource.ViewResource.getView(ViewResource.java:52)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
> > at
> >
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> > at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> > at
> >
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> > at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> > at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> > at
> >
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> > at
> >
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> > at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> > at org.mortbay.jetty.Server.handle(Server.java:326)
> > at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> > at
> >
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> > at
> >
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> > at
> >
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> >
> > at
> org.apache.hadoop.chukwa.rest.bean.WidgetBean.<init>(WidgetBean.java:80)
> > at
> >
> org.apache.hadoop.chukwa.datastore.WidgetStore.cacheWidgets(WidgetStore.java:98)
> > at
> org.apache.hadoop.chukwa.datastore.WidgetStore.list(WidgetStore.java:121)
> > at
> org.apache.hadoop.chukwa.rest.bean.WidgetBean.update(WidgetBean.java:158)
> > at
> org.apache.hadoop.chukwa.rest.bean.ColumnBean.update(ColumnBean.java:63)
> > at org.apache.hadoop.chukwa.rest.bean.PagesBean.update(PagesBean.java:83)
> > at org.apache.hadoop.chukwa.rest.bean.ViewBean.update(ViewBean.java:127)
> > at org.apache.hadoop.chukwa.datastore.ViewStore.load(ViewStore.java:92)
> > at org.apache.hadoop.chukwa.datastore.ViewStore.<init>(ViewStore.java:61)
> > at
> >
> org.apache.hadoop.chukwa.rest.resource.ViewResource.getView(ViewResource.java:52)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> >
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
> > at
> >
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> > at
> >
> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
> > at
> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
> > at
> >
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
> > at
> >
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> > at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> > at
> >
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> > at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> > at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> > at
> >
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> > at
> >
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> > at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> > at org.mortbay.jetty.Server.handle(Server.java:326)
> > at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> > at
> >
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> > at
> >
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> > at
> >
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> >
> > Thanks,
> > Prakhar
> >
> >
> > On Sun, May 20, 2012 at 5:24 AM, Eric Yang <eric818@gmail.com> wrote:
> >>
> >> Hi Prakhar,
> >>
> >> Could you check if there is two version of Jersey in the
> >> share/chukwa/lib directory?
> >> It looks like version conflict between HBase dependent Jersey and
> >> Chukwa dependent Jersey to cause this issue on certain jvm.
> >>
> >> What version of jdk and OS are you using?
> >>
> >> regards,
> >> Eric
> >>
> >> On Wed, May 16, 2012 at 11:13 PM, Prakhar Srivastava
> >> <prakhar.apj@gmail.com> wrote:
> >> > Hi,
> >> > I am using chukwa version 0.5.0 stable release.
> >> > I tried to start hicc using bin/chukwa hicc but unable to start it
> >> > because
> >> > of the following errors:
> >> >
> >> > May 17, 2012 11:28:45 AM com.sun.jersey.spi.inject.Errors
> >> > processErrorMessages
> >> > SEVERE: The following errors and warnings have been detected with
> >> > resource
> >> > and/or provider classes:
> >> >   SEVERE: Method, public java.util.List
> >> > org.apache.hadoop.chukwa.rest.resource.ClientTrace.getTrace(),
> annotated
> >> > with GET of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.ClientTrace, is not recognized
> as
> >> > valid resource method.
> >> >   SEVERE: Method, public org.apache.hadoop.chukwa.rest.bean.UserBean
> >> >
> >> >
> org.apache.hadoop.chukwa.rest.resource.UserResource.getProfile(java.lang.String),
> >> > annotated with GET of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.UserResource, is not recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public java.lang.String
> >> > org.apache.hadoop.chukwa.rest.resource.UserResource.getUserList(),
> >> > annotated
> >> > with GET of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.UserResource, is not recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public
> >> > org.apache.hadoop.chukwa.rest.bean.ReturnCodeBean
> >> >
> >> >
> org.apache.hadoop.chukwa.rest.resource.UserResource.setProfile(org.apache.hadoop.chukwa.rest.bean.UserBean),
> >> > annotated with PUT of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.UserResource, is not recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public org.apache.hadoop.chukwa.rest.bean.WidgetBean
> >> >
> >> >
> org.apache.hadoop.chukwa.rest.resource.WidgetResource.getProfile(java.lang.String),
> >> > annotated with GET of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.WidgetResource, is not
> recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public
> org.apache.hadoop.chukwa.rest.bean.CatalogBean
> >> >
> >> >
> org.apache.hadoop.chukwa.rest.resource.WidgetResource.getWidgetCatalog(),
> >> > annotated with GET of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.WidgetResource, is not
> recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public
> >> > org.apache.hadoop.chukwa.rest.bean.ReturnCodeBean
> >> >
> >> >
> org.apache.hadoop.chukwa.rest.resource.WidgetResource.saveWidget(org.apache.hadoop.chukwa.rest.bean.WidgetBean),
> >> > annotated with PUT of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.WidgetResource, is not
> recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public
> >> > org.apache.hadoop.chukwa.rest.bean.ReturnCodeBean
> >> >
> >> >
> org.apache.hadoop.chukwa.rest.resource.ViewResource.deleteView(javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String),
> >> > annotated with DELETE of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.ViewResource, is not recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public org.apache.hadoop.chukwa.rest.bean.ViewBean
> >> >
> >> >
> org.apache.hadoop.chukwa.rest.resource.ViewResource.getView(javax.servlet.http.HttpServletRequest,java.lang.String),
> >> > annotated with GET of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.ViewResource, is not recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public
> >> > org.apache.hadoop.chukwa.rest.bean.ReturnCodeBean
> >> >
> >> >
> org.apache.hadoop.chukwa.rest.resource.ViewResource.changeViewPermission(javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String,java.lang.String),
> >> > annotated with POST of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.ViewResource, is not recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public java.lang.String
> >> >
> >> >
> org.apache.hadoop.chukwa.rest.resource.ViewResource.getUserViewList(javax.servlet.http.HttpServletRequest),
> >> > annotated with GET of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.ViewResource, is not recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public
> >> > org.apache.hadoop.chukwa.rest.bean.ReturnCodeBean
> >> >
> >> >
> org.apache.hadoop.chukwa.rest.resource.ViewResource.setView(javax.servlet.http.HttpServletRequest,org.apache.hadoop.chukwa.rest.bean.ViewBean),
> >> > annotated with PUT of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.ViewResource, is not recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public
> >> > org.apache.hadoop.chukwa.rest.bean.ReturnCodeBean
> >> >
> >> >
> org.apache.hadoop.chukwa.rest.resource.ViewResource.changeView(javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String,java.lang.String),
> >> > annotated with POST of resource, class
> >> > org.apache.hadoop.chukwa.rest.resource.ViewResource, is not recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public java.lang.String
> >> >
> >> >
> org.apache.hadoop.chukwa.hicc.rest.MetricsController.getSeries(javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String),
> >> > annotated with GET of resource, class
> >> > org.apache.hadoop.chukwa.hicc.rest.MetricsController, is not
> recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public java.lang.String
> >> >
> >> >
> org.apache.hadoop.chukwa.hicc.rest.MetricsController.getSeriesBySessionAttribute(javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String),
> >> > annotated with GET of resource, class
> >> > org.apache.hadoop.chukwa.hicc.rest.MetricsController, is not
> recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public java.lang.String
> >> > org.apache.hadoop.chukwa.hicc.rest.MetricsController.getTables(),
> >> > annotated
> >> > with GET of resource, class
> >> > org.apache.hadoop.chukwa.hicc.rest.MetricsController, is not
> recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public java.lang.String
> >> >
> >> >
> org.apache.hadoop.chukwa.hicc.rest.MetricsController.getFamilies(java.lang.String),
> >> > annotated with GET of resource, class
> >> > org.apache.hadoop.chukwa.hicc.rest.MetricsController, is not
> recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public java.lang.String
> >> >
> >> >
> org.apache.hadoop.chukwa.hicc.rest.MetricsController.getColumnNames(javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean),
> >> > annotated with GET of resource, class
> >> > org.apache.hadoop.chukwa.hicc.rest.MetricsController, is not
> recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public java.lang.String
> >> >
> >> >
> org.apache.hadoop.chukwa.hicc.rest.MetricsController.getRowNames(javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean),
> >> > annotated with GET of resource, class
> >> > org.apache.hadoop.chukwa.hicc.rest.MetricsController, is not
> recognized
> >> > as
> >> > valid resource method.
> >> >   SEVERE: Method, public synchronized javax.ws.rs.core.Response
> >> >
> >> >
> com.sun.jersey.server.impl.wadl.WadlResource.geExternalGramar(javax.ws.rs.core.UriInfo,java.lang.String),
> >> > annotated with GET of resource, class
> >> > com.sun.jersey.server.impl.wadl.WadlResource, is not recognized as
> valid
> >> > resource method.
> >> >   SEVERE: Method, public synchronized javax.ws.rs.core.Response
> >> >
> >> >
> com.sun.jersey.server.impl.wadl.WadlResource.getWadl(javax.ws.rs.core.UriInfo),
> >> > annotated with GET of resource, class
> >> > com.sun.jersey.server.impl.wadl.WadlResource, is not recognized as
> valid
> >> > resource method.
> >> > 2012-05-17 11:28:45.388:WARN:/hicc:unavailable
> >> > com.sun.jersey.spi.inject.Errors$ErrorMessagesException
> >> > at
> >> > com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170)
> >> > at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:137)
> >> > at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:203)
> >> > at
> >> >
> >> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771)
> >> > at
> >> >
> >> >
> com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:766)
> >> > at
> >> >
> >> >
> com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488)
> >> > at
> >> >
> >> >
> com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318)
> >> > at
> >> >
> >> >
> com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609)
> >> > at
> >> >
> >> >
> com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210)
> >> > at
> >> >
> >> >
> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373)
> >> > at
> >> >
> >> >
> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556)
> >> > at javax.servlet.GenericServlet.init(GenericServlet.java:241)
> >> > 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:736)
> >> > at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
> >> > at
> >> >
> >> >
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
> >> > at
> >> >
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
> >> > at
> >> > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
> >> > at
> >> >
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> >> > at
> >> >
> >> >
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> >> > at
> >> >
> >> >
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
> >> > at
> >> >
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
> >> > at
> >> >
> >> >
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> >> > 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.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
> >> > 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 org.mortbay.start.Main.invokeMain(Main.java:194)
> >> > at org.mortbay.start.Main.start(Main.java:534)
> >> > at org.mortbay.start.Main.start(Main.java:441)
> >> > at org.mortbay.start.Main.main(Main.java:119)
> >> >
> >> > I found that there are issues with hbase-0.92.1, so I checked out the
> >> > SVN
> >> > code from trunk, modified pom to hbase-0.92.0 and build the war using
> >> > mvn
> >> > package -DskipTests. But even then, I am getting the same error. Can
> >> > someone
> >> > suggest what possibly might be goign wrong .
> >> >
> >> > Thanks,
> >> > Prakhar
> >
> >
>

Mime
View raw message