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
