You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2023/08/10 10:08:00 UTC

[jira] [Created] (IMPALA-12359) Add missing package-info file used by HiveVersionInfo

Zoltán Borók-Nagy created IMPALA-12359:
------------------------------------------

             Summary: Add missing package-info file used by HiveVersionInfo
                 Key: IMPALA-12359
                 URL: https://issues.apache.org/jira/browse/IMPALA-12359
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
            Reporter: Zoltán Borók-Nagy


We create a minimal-impala-hive-exec.jar based on Hive's hive-exec.jar:
https://github.com/apache/impala/blob/master/java/shaded-deps/hive-exec/pom.xml#L34

This excludes lots of class files, including org/apache/hive/common/package-info.class that is used by HiveVersionAnnotation and HiveVersionInfo classes.

Because of this HiveVersionInfo returns "Unknown" version resulting in failing Iceberg operations, e.g.:
https://github.com/apache/iceberg/blob/2535c3a8b18910a926df45d267271aecd83317b3/hive-metastore/src/main/java/org/apache/iceberg/hive/MetastoreLock.java#L364



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