Hello Gabor Kaszab, Zoltan Borok-Nagy, Gergely Fürnstáhl, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/19509 to look at the new patch set (#4). Change subject: IMPALA-11509: Prevent queries hanging when Iceberg metadata is missing. ...................................................................... IMPALA-11509: Prevent queries hanging when Iceberg metadata is missing. Traditionally table metadata is loaded by the catalog and sent as thrift to the Impala daemons. With Iceberg tables, some metadata, for example the org.apache.iceberg.Table, is loaded in the Coordinator at the same time as the thrift description is being deserialized. If the loading of the org.apache.iceberg.Table fails, perhaps because of missing Iceberg metadata, then the loading of the table fails. This can cause an infinite loop as StmtMetadataLoader.loadTables() waits hopefully for the catalog to send a new version of the table. Change some Iceberg table loading methods to throw IcebergTableLoadingException when a failure occurs. Prevent the hang by substituting in an IncompleteTable if an IcebergTableLoadingException occurs. TESTING Add a new test, originally developed for IMPALA-11330, which tests failures after deleting Iceberg metadata. Change-Id: I695559e21c510615918a51a4b5057bc616ee5421 --- M fe/src/main/java/org/apache/impala/catalog/Table.java M fe/src/main/java/org/apache/impala/catalog/iceberg/IcebergCatalog.java M fe/src/main/java/org/apache/impala/catalog/iceberg/IcebergCatalogs.java M fe/src/main/java/org/apache/impala/catalog/iceberg/IcebergHadoopCatalog.java M fe/src/main/java/org/apache/impala/catalog/iceberg/IcebergHadoopTables.java M fe/src/main/java/org/apache/impala/catalog/iceberg/IcebergHiveCatalog.java M fe/src/main/java/org/apache/impala/util/IcebergUtil.java M testdata/workloads/functional-query/queries/QueryTest/iceberg-negative.test M tests/query_test/test_iceberg.py 9 files changed, 71 insertions(+), 21 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/09/19509/4 -- To view, visit http://gerrit.cloudera.org:8080/19509 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I695559e21c510615918a51a4b5057bc616ee5421 Gerrit-Change-Number: 19509 Gerrit-PatchSet: 4 Gerrit-Owner: Andrew Sherman <asher...@cloudera.com> Gerrit-Reviewer: Andrew Sherman <asher...@cloudera.com> Gerrit-Reviewer: Gabor Kaszab <gaborkas...@cloudera.com> Gerrit-Reviewer: Gergely Fürnstáhl <gfurnst...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Zoltan Borok-Nagy <borokna...@cloudera.com>