Hive 3.1.3.300 - 2307 (EEP 9.1.2) Release Notes

The following notes relate specifically to the HPE Ezmeral Data Fabric Distribution for Apache Hive. You may also be interested in the Apache Hive-3.1.3 Release Notes and the Apache Hive homepage.
Hive Version 3.1.3.300
Release Date July 2023
HPE Version Interoperability See Hive and HCatalog Support Matrix and Ecosystem Support Matrix and EEP Components and OS Support.
Source on GitHub https://github.com/mapr/hive
GitHub Release Tag 3.1.3.300-eep-912
Maven Artifacts https://repository.mapr.com/maven/
Package Names Navigate to http://package.ezmeral.hpe.com/releases/MEP/, and select your EEP(MEP) and OS to view the list of package names.
ODBC/JDBC Drivers
Hive 3.1.3 works with the following HPE Hive drivers:

For additional driver information, see Connecting to HiveServer2.

Feature support

The following list describes support of various components and functionality with Hive 3.1.3.300 - 2307:

  • Supports Hive-3.1.3 on Tez-0.10.2.

  • Does not support Hive on Spark. You cannot use Spark as a query engine for Hive. However, you can run Hive and Spark on the same cluster. You can also use Spark SQL and Drill to query Hive tables.

  • Does not support HDFS encryption in Hive tables.

  • Does not support LLAP with Hive-3.1.3 because Apache Slider is not an HPE supported ecosystem component.

  • Starting from Hive 2.1, Hive must run the schematool command as an initialization step.

  • Starting from EEP 9.1.0, you can enable Hive to work with JDK 17. See Considerations for JDK 17.

  • Starting from EEP 9.0.0, Data Fabric supports Ranger, which can be integrated with HiveServer2. For more information, see Integrating HiveServer2 with Ranger.

New in This Release

Hive 3.1.3.300 - 2307 introduces the following enhancements or HPE platform-specific behavior changes:
  • None.

Fixes

This HPE release includes the following fixes on the base release:

GitHub Commit Number Data (YYYY-MM-DD) HPE Fix Number and Description
d7214e8461 2023-06-30 EEP-HIVE-1426: upgrade tomcat from 10.0.23 due to CVE-2022-42252
85dfe21337 2023-06-30 EEP-HIVE-1424: upgrade jackson-databind from 2.13.3 due to CVE-2022-42003,CVE-2022-42004
67300a8595 2023-05-02 EEP-HIVE-1388: update guava to 31.1-jre
9f4f1339a6 2023-06-29 EEP-HIVE-1423: jta (1.1) - CVE-2009-1104, CVE-2009-1105, CVE-2009-1107
90251319fd 2023-06-29 EEP-HIVE-1422: transaction-api (1.1) - CVE-2009-1104, CVE-2009-1105, CVE-2009-1107
c79ca5c170 2023-06-29 EEP-HIVE-1421: ant, ant-launcher (1.10.9) - CVE-2021-36373, CVE-2021-36374
86b9a75888 2023-06-29 EEP-HIVE-1420: Update Netty to 4.1.94 due to CVE
81b2e0753a 2023-06-29 EEP-HIVE-1419: Update Jetty to 9.4.51.v20230217 CVE
6f919a98bc 2023-06-26 EEP-HIVE-1415: Hive query fails with the exception: 'Output column number expected to be 0 when isRepeating'
2bbafeb449 2023-06-27 EEP-HIVE-1410: webhcatalog allows TRACE method by default
4b0f839355 2023-06-22 EEP-HIVE-1413: Address CVE-2022-1471 for hive
104fe8f946 2023-06-21 EEP-HIVE-1413: Address CVE-2022-1471 for hive
c95334e432 2023-06-09 EEP-HIVE-1345: CVE-2019-20444 & CVE-2019-20445; netty-3.10.6.Final.jar Vulnerabilities
c529098402 2023-06-09 EEP-HIVE-1384: Hive as non mapr user looking for daemon.conf file on client only nodes
27528543b0 2023-05-01 EEP-HIVE-1383: INSERT query fails with NPE if the table has a complex data type

Known Issues and Limitations

  • HIVE-1336: When using Hive configured with Java 17, sometimes Hive gives the following error:
    Caused by: java.lang.reflect.InaccessibleObjectException: <detailed description>: module java.base does not "opens <module name>" to unnamed module
    Error example:
    Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final int java.time.LocalDate.year accessible: module java.base does not "opens java.time" to unnamed module

    Workaround:

    Add the --add-opens java.base/<module name>=ALL-UNNAMED configuration option (for example, --add-opens java.base/java.time=ALL-UNNAMED) to the following:
    1. HADOOP_OPTS variable in the hive-env.sh configuration file.
    2. mapreduce.map.java.opts, mapreduce.reduce.java.opts, yarn.app.mapreduce.am.command-opts properties of the hive-site.xml configuration file.