Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12359

Add missing package-info file used by HiveVersionInfo

    XMLWordPrintableJSON

Details

    • ghx-label-4

    Description

      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

      Attachments

        Activity

          People

            boroknagyz Zoltán Borók-Nagy
            boroknagyz Zoltán Borók-Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: