[
https://issues.apache.org/jira/browse/IMPALA-12359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17753210#comment-17753210
]
ASF subversion and git services commented on IMPALA-12359:
----------------------------------------------------------
Commit a95859be0b3bb06207956285d7bc19cfd8acf1c1 in impala's branch
refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=a95859be0 ]
IMPALA-12359: Add missing package-info file used by HiveVersionInfo
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.
Change-Id: I444330a654d7d86e653588eb91d2f063d5be8c08
Reviewed-on: http://gerrit.cloudera.org:8080/20340
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> 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
> Assignee: Zoltán Borók-Nagy
> Priority: Major
> Labels: impala-iceberg
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]