You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "lvyankui (Jira)" <ji...@apache.org> on 2024/07/04 09:51:00 UTC

[jira] [Created] (HIVE-28360) Upgrade jersey to version 1.19.4,

lvyankui created HIVE-28360:
-------------------------------

             Summary: 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


Hive version: 3.1.3
Hadoop version: 3.3.5

After upgrading to Hadoop 3.3.5, 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.

!image-2023-07-27-16-18-03-692.png!

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.



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