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

Zhihua Deng resolved HIVE-28360.
--------------------------------
    Fix Version/s: 4.1.0
                   4.0.1
       Resolution: Fixed

> Upgrade jersey to version 1.19.4,
> ---------------------------------
>
>                 Key: HIVE-28360
>                 URL: https://issues.apache.org/jira/browse/HIVE-28360
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.1.3
>            Reporter: lvyankui
>            Assignee: lvyankui
>            Priority: Major
>              Labels: hive-4.0.1-must, pull-request-available
>             Fix For: 4.1.0, 4.0.1
>
>         Attachments: HIVE-28360.patch
>
>
> Hive version: 3.1.3
> Hadoop version: 3.3.6
> After upgrading to Hadoop 3.3.6, the Hive WebHCat server fails to start 
> because of inconsistent versions of the Jersey JAR package. Hive HCat lacks 
> the jersey-server-1.19 jar.
>  
> After upgrading to Hadoop 3.3.5+, Hadoop updates jersey to version 
> {color:#ff0000}1.19.4{color}, which is inconsistent with the jersey version 
> in the Hive WebHCat server. As a result, the startup fails. To resolve this, 
> manually download a package and place it in 
> /usr/lib/hive-hcatalog/share/webhcat/svr/lib/
> Therefore, when packaging Hive, we need to specify the version of Jersey in 
> the Hive POM file to match the version of Jersey in Hadoop  to avoid version 
> conflicts.
>  
> Here is the error log 
> INFO  | 18 Jul 2024 14:37:13,237 | org.eclipse.jetty.server.Server | 
> jetty-9.4.53.v20231009; built: 2023-10-09T12:29:09.265Z; git: 
> 27bde00a0b95a1d5bbee0eae7984f891d2d0f8c9; jvm 1.8.0_412-b08
> WARN  | 18 Jul 2024 14:37:13,326 | 
> org.eclipse.jetty.server.handler.ContextHandler.ROOT | unavailable
> com.sun.jersey.api.container.ContainerException: No WebApplication provider 
> is present
>         at 
> com.sun.jersey.spi.container.WebApplicationFactory.createWebApplication(WebApplicationFactory.java:69)
>  ~[jersey-server-1.19.4.jar:1.19.4]
>         at 
> com.sun.jersey.spi.container.servlet.ServletContainer.create(ServletContainer.java:412)
>  ~[jersey-servlet-1.19.jar:1.19]
>         at 
> com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.create(ServletContainer.java:327)
>  ~[jersey-servlet-1.19.jar:1.19]
>         at 
> com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:603) 
> ~[jersey-servlet-1.19.jar:1.19]
>         at 
> com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:207) 
> ~[jersey-servlet-1.19.jar:1.19]
>         at 
> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:394)
>  ~[jersey-servlet-1.19.jar:1.19]
>         at 
> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:577)
>  ~[jersey-servlet-1.19.jar:1.19]
>         at javax.servlet.GenericServlet.init(GenericServlet.java:244) 
> ~[javax.servlet-api-3.1.0.jar:3.1.0]
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to