hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Somogyi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-20353) REST server startup fails
Date Fri, 06 Apr 2018 14:01:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-20353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Peter Somogyi resolved HBASE-20353.
-----------------------------------
    Resolution: Duplicate

Duplicate of HBASE-20007

> REST server startup fails
> -------------------------
>
>                 Key: HBASE-20353
>                 URL: https://issues.apache.org/jira/browse/HBASE-20353
>             Project: HBase
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 2.0.0
>            Reporter: Peter Somogyi
>            Priority: Blocker
>             Fix For: 2.0.0
>
>
> The rest server is not starting upĀ using {{bin/hbase rest start}} andĀ {{bin/hbase-daemon.sh
start rest}} commands.
> {noformat}
> $ bin/hbase rest start
> 2018-04-05 15:29:36,905 INFO  [main] RESTServer: ***** STARTING service 'RESTServer'
*****
> 2018-04-05 15:29:36,907 INFO  [main] util.VersionInfo: HBase 2.0.0
> 2018-04-05 15:29:36,907 INFO  [main] util.VersionInfo: Source code repository git://psomogyi-MBP.local/Users/peter.somogyi/Cloudera/hbase
revision=c9f3eb00ab93d7b97de43c0bc3601371c77d0ba2
> 2018-04-05 15:29:36,907 INFO  [main] util.VersionInfo: Compiled by peter.somogyi on Thu
Apr  5 13:33:55 CEST 2018
> 2018-04-05 15:29:36,907 INFO  [main] util.VersionInfo: From source with checksum 1231660fdac945689215f58245692691
> 2018-04-05 15:29:37,144 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable
> 2018-04-05 15:29:37,524 INFO  [main] metrics.MetricRegistries: Loaded MetricRegistries
class org.apache.hadoop.hbase.metrics.impl.MetricRegistriesImpl
> 2018-04-05 15:29:37,620 INFO  [main] util.log: Logging initialized @976ms
> 2018-04-05 15:29:37,765 INFO  [main] http.HttpRequestLog: Http request log for http.requests.rest
is not defined
> 2018-04-05 15:29:37,778 INFO  [main] http.HttpServer: Added global filter 'safety' (class=org.apache.hadoop.hbase.http.HttpServer$QuotingInputFilter)
> 2018-04-05 15:29:37,779 INFO  [main] http.HttpServer: Added global filter 'clickjackingprevention'
(class=org.apache.hadoop.hbase.http.ClickjackingPreventionFilter)
> 2018-04-05 15:29:37,781 INFO  [main] http.HttpServer: Added filter static_user_filter
(class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context rest
> 2018-04-05 15:29:37,781 INFO  [main] http.HttpServer: Added filter static_user_filter
(class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs
> 2018-04-05 15:29:37,781 INFO  [main] http.HttpServer: Added filter static_user_filter
(class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context static
> 2018-04-05 15:29:37,806 INFO  [main] http.HttpServer: Jetty bound to port 8085
> 2018-04-05 15:29:37,807 INFO  [main] server.Server: jetty-9.3.19.v20170502
> 2018-04-05 15:29:37,839 INFO  [main] handler.ContextHandler: Started o.e.j.s.ServletContextHandler@2e8c1c9b{/logs,file:///Users/peter.somogyi/Cloudera/hbase/logs/,AVAILABLE}
> 2018-04-05 15:29:37,839 INFO  [main] handler.ContextHandler: Started o.e.j.s.ServletContextHandler@449a4f23{/static,file:///Users/peter.somogyi/Cloudera/hbase/hbase-rest/target/hbase-webapps/static,AVAILABLE}
> 2018-04-05 15:29:37,937 INFO  [main] handler.ContextHandler: Started o.e.j.w.WebAppContext@15d49048{/,file:///Users/peter.somogyi/Cloudera/hbase/hbase-rest/target/hbase-webapps/rest/,AVAILABLE}{file:/Users/peter.somogyi/Cloudera/hbase/hbase-rest/target/hbase-webapps/rest}
> 2018-04-05 15:29:37,946 INFO  [main] server.AbstractConnector: Started ServerConnector@4ee203eb{HTTP/1.1,[http/1.1]}{0.0.0.0:8085}
> 2018-04-05 15:29:37,946 INFO  [main] server.Server: Started @1303ms
> 2018-04-05 15:29:37,947 INFO  [main] server.Server: jetty-9.3.19.v20170502
> 2018-04-05 15:29:37,955 WARN  [main] security.SecurityHandler: ServletContext@o.e.j.s.ServletContextHandler@25084a1e{/,null,STARTING}
has uncovered http methods for path: /*
> 2018-04-05 15:29:37,982 INFO  [main] server.AbstractConnector: Started ServerConnector@49912c99{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
> Exception in thread "main" java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map;
> 	at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:331)
> 	at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392)
> 	at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177)
> 	at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369)
> 	at javax.servlet.GenericServlet.init(GenericServlet.java:244)
> 	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:643)
> 	at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:422)
> 	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:892)
> 	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:349)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
> 	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
> 	at org.eclipse.jetty.server.Server.start(Server.java:422)
> 	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
> 	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
> 	at org.eclipse.jetty.server.Server.doStart(Server.java:389)
> 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
> 	at org.apache.hadoop.hbase.rest.RESTServer.main(RESTServer.java:359)
> {noformat}
> Using hbase-daemon the service starts up but I get HTTP 404 for every request. There
is no error message in the log in this case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message