[
https://issues.apache.org/jira/browse/HIVE-29764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098675#comment-18098675
]
Kokila N commented on HIVE-29764:
---------------------------------
*Issue 2:* HiveIcebergRESTCatalogTests.testLoadTableWithMissingMetadataFile
{code:java}
[ERROR]
org.apache.iceberg.rest.HiveIcebergRESTCatalogTests.testLoadTableWithMissingMetadataFile(Path)
-- Time elapsed: 0.267 s <<< ERROR! java.nio.file.NoSuchFileException:
/tmp/junit-10107448009859236806/tmp.json ->
s3a:/test/test-warehouse/ns.db/tbl-8595113f57b843cbafb382f61f80100e/metadata/00000-d7cc9b2e-21f9-4397-9331-d416ac187c4b.metadata.json
at
java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixFileSystem.move(UnixFileSystem.java:948) at
java.base/sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:309)
at java.base/java.nio.file.Files.move(Files.java:1431) at
org.apache.iceberg.catalog.CatalogTests.testLoadTableWithMissingMetadataFile(CatalogTests.java:1038)
at java.base/java.lang.reflect.Method.invoke(Method.java:580) at
java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at
java.base/java.util.ArrayList.forEach(ArrayList.java:1596) {code}
Iceberg CatalogTests use[
File.move()|https://github.com/apache/iceberg/blob/c29264684b3232135c526c2bafb3be9b5357bce4/core/src/test/java/org/apache/iceberg/catalog/CatalogTests.java#L1033]
which works for local {{file://}} warehouses but fails in docker tests
because the warehouse is on *S3A* (s3a:/test/test-warehouse).
I will implement an overriden testcase using S3 aware *FileSystem.rename()* .
> Build and Publish docker images is broken by iceberg 1.11 upgrade
> -----------------------------------------------------------------
>
> Key: HIVE-29764
> URL: https://issues.apache.org/jira/browse/HIVE-29764
> Project: Hive
> Issue Type: Bug
> Components: Build Infrastructure
> Reporter: Denys Kuzmenko
> Assignee: Kokila N
> Priority: Major
>
> Missing `metastore.iceberg.catalog.unique.table.location`=`true` config in
> [https://github.com/apache/hive/blob/master/itests/test-docker/k8s/hive-metastore/configmap.yaml]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)