hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21248) WebHCat returns HTTP error code 500 rather than 429 when submitting large number of jobs in stress tests
Date Tue, 12 Feb 2019 00:17:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-21248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16765560#comment-16765560
] 

Daniel Dai commented on HIVE-21248:
-----------------------------------

The issue will be addressed as part of HIVE-21247, when WebHCat is pulling hive-jdbc dependencies
and need to exclude jsr311-api-1.1.1.jar due to the change anyway.

> WebHCat returns HTTP error code 500 rather than 429 when submitting large number of jobs
in stress tests
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-21248
>                 URL: https://issues.apache.org/jira/browse/HIVE-21248
>             Project: Hive
>          Issue Type: Bug
>          Components: WebHCat
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>            Priority: Major
>
> Saw the exception in webhcat.log:
> {code}
> java.lang.NoSuchMethodError: javax.ws.rs.core.Response$Status$Family.familyOf(I)Ljavax/ws/rs/core/Response$Status$Family;
>         at org.glassfish.jersey.message.internal.Statuses$StatusImpl.<init>(Statuses.java:63)
~[jersey-common-2.25.1.jar:?]
>         at org.glassfish.jersey.message.internal.Statuses$StatusImpl.<init>(Statuses.java:54)
~[jersey-common-2.25.1.jar:?]
>         at org.glassfish.jersey.message.internal.Statuses.from(Statuses.java:132) ~[jersey-common-2.25.1.jar:?]
>         at org.glassfish.jersey.message.internal.OutboundJaxrsResponse$Builder.status(OutboundJaxrsResponse.java:414)
~[jersey-common-2.25.1.jar:?]
>         at javax.ws.rs.core.Response.status(Response.java:128) ~[jsr311-api-1.1.1.jar:?]
>         at org.apache.hive.hcatalog.templeton.SimpleWebException.buildMessage(SimpleWebException.java:67)
~[hive-webhcat-3.1.0.3.0.2.0-50.jar:3.1.0.3.0.2.0-50]
>         at org.apache.hive.hcatalog.templeton.SimpleWebException.getResponse(SimpleWebException.java:51)
~[hive-webhcat-3.1.0.3.0.2.0-50.jar:3.1.0.3.0.2.0-50]
>         at org.apache.hive.hcatalog.templeton.SimpleExceptionMapper.toResponse(SimpleExceptionMapper.java:33)
~[hive-webhcat-3.1.0.3.0.2.0-50.jar:3.1.0.3.0.2.0-50]
>         at org.apache.hive.hcatalog.templeton.SimpleExceptionMapper.toResponse(SimpleExceptionMapper.java:29)
~[hive-webhcat-3.1.0.3.0.2.0-50.jar:3.1.0.3.0.2.0-50]
>         at com.sun.jersey.spi.container.ContainerResponse.mapException(ContainerResponse.java:480)
~[jersey-server-1.19.jar:1.19]
>         at com.sun.jersey.spi.container.ContainerResponse.mapMappableContainerException(ContainerResponse.java:417)
~[jersey-server-1.19.jar:1.19]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1477)
~[jersey-server-1.19.jar:1.19]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
~[jersey-server-1.19.jar:1.19]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
~[jersey-server-1.19.jar:1.19]
>         at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
~[jersey-servlet-1.19.jar:1.19]
>         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
~[jersey-servlet-1.19.jar:1.19]
>         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
~[jersey-servlet-1.19.jar:1.19]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[javax.servlet-api-3.1.0.jar:3.1.0]
>         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) ~[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772)
~[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.apache.hive.hcatalog.templeton.Main$XFrameOptionsFilter.doFilter(Main.java:299)
~[hive-webhcat-3.1.0.3.0.2.0-50.jar:3.1.0.3.0.2.0-50]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
~[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:644)
~[hadoop-auth-3.1.1.3.0.2.0-50.jar:?]
>         at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:592)
~[hadoop-auth-3.1.1.3.0.2.0-50.jar:?]
>         at org.apache.hadoop.hdfs.web.AuthFilter.doFilter(AuthFilter.java:90) ~[hadoop-hdfs-3.1.1.3.0.2.0-50.jar:?]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
~[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) [jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.server.Server.handle(Server.java:534) [jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) [jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
[jetty-io-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [jetty-io-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
[jetty-io-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
[jetty-runner-9.3.20.v20170531.jar:9.3.20.v20170531]
>         at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
> {code}
> Replace jsr311-api-1.1.1.jar with javax.ws.rs-api-2.0.1.jar manually solves the issue.
We need to make the change in distribution.



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

Mime
View raw message