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

Samir Ahmic reassigned HBASE-18506:
-----------------------------------

    Assignee: Samir Ahmic

> java.lang.AbstractMethodError in hbase REST server
> --------------------------------------------------
>
>                 Key: HBASE-18506
>                 URL: https://issues.apache.org/jira/browse/HBASE-18506
>             Project: HBase
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 3.0.0, 2.0.0-alpha-1
>            Reporter: Samir Ahmic
>            Assignee: Samir Ahmic
>            Priority: Blocker
>
> Just run it this one while testing some scripts. Basically any call to 
> service will end up with 500 error. After some checking it looks like we have 
> some issues with dependencies incompatibility. 
> Here is more details:
> {code}
> Stack trace:
> 2017-08-02 20:46:25,407 WARN  [qtp422330142-30] servlet.ServletHandler: Error 
> for /status/cluster
> java.lang.AbstractMethodError: 
> javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
>               at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
>               at 
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:298)
>               at 
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
>               at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
>               at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)
>               at 
> org.apache.hadoop.hbase.rest.filter.GzipFilter.doFilter(GzipFilter.java:77)
>               at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
>               at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
>               at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>               at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
>               at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
>               at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)
>               at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
>               at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>               at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
>               at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>               at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
>               at org.eclipse.jetty.server.Server.handle(Server.java:518)
>               at 
> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
>               at 
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
>               at 
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
>               at 
> org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
>               at 
> org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
>               at 
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)
>               at 
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)
>               at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
>               at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
>               at java.lang.Thread.run(Thread.java:745)
> {code}
> and here are suspects from lib dir
> {code}
> $ grep -r "UriBuilder" .
> Binary file ./javax.ws.rs-api-2.0.1.jar matches
> Binary file ./jersey-common-2.25.1.jar matches
> Binary file ./jersey-core-1.9.jar matches
> {code}
> I have also checked hbase-1.2.6 we have only jersey-core-1.9.jar there



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to