[ https://issues.apache.org/jira/browse/FLINK-30433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-30433: ----------------------------------- Labels: stale-critical test-stability (was: test-stability) I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issues has been marked as Critical but is unassigned and neither itself nor its Sub-Tasks have been updated for 14 days. I have gone ahead and marked it "stale-critical". If this ticket is critical, please either assign yourself or give an update. Afterwards, please remove the label or in 7 days the issue will be deprioritized. > HiveDialectITCase#testCreateDatabase fails with "Could not execute CREATE > DATABASE" > ----------------------------------------------------------------------------------- > > Key: FLINK-30433 > URL: https://issues.apache.org/jira/browse/FLINK-30433 > Project: Flink > Issue Type: Bug > Components: Connectors / Hive > Affects Versions: 1.17.0, 1.16.1 > Reporter: Martijn Visser > Priority: Critical > Labels: stale-critical, test-stability > > {code:java} > Feb 14 02:38:16 [ERROR] Tests run: 27, Failures: 0, Errors: 1, Skipped: 0, > Time elapsed: 341.271 s <<< FAILURE! - in > org.apache.flink.connectors.hive.HiveDialectITCase > Feb 14 02:38:16 [ERROR] > org.apache.flink.connectors.hive.HiveDialectITCase.testTemporaryFunctionUDTF > Time elapsed: 49.997 s <<< ERROR! > Feb 14 02:38:16 org.apache.flink.table.api.TableException: Could not execute > CREATE DATABASE: (catalogDatabase: [{}], catalogName: [test-catalog], > databaseName: [db1], ignoreIfExists: [false]) > Feb 14 02:38:16 at > org.apache.flink.table.api.internal.TableEnvironmentImpl.executeInternal(TableEnvironmentImpl.java:1125) > Feb 14 02:38:16 at > org.apache.flink.table.api.internal.TableEnvironmentImpl.executeSql(TableEnvironmentImpl.java:730) > Feb 14 02:38:16 at > org.apache.flink.connectors.hive.HiveDialectITCase.testTemporaryFunctionUDTF(HiveDialectITCase.java:838) > Feb 14 02:38:16 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > Feb 14 02:38:16 at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > Feb 14 02:38:16 at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > Feb 14 02:38:16 at java.lang.reflect.Method.invoke(Method.java:498) > [...] > Feb 14 02:38:16 at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548) > Feb 14 02:38:16 Caused by: > org.apache.flink.table.catalog.exceptions.CatalogException: Failed to create > database db1 > Feb 14 02:38:16 at > org.apache.flink.table.catalog.hive.HiveCatalog.createDatabase(HiveCatalog.java:376) > Feb 14 02:38:16 at > org.apache.flink.table.api.internal.TableEnvironmentImpl.executeInternal(TableEnvironmentImpl.java:1117) > Feb 14 02:38:16 ... 47 more > Feb 14 02:38:16 Caused by: InvalidObjectException(message:No such catalog > hive) > Feb 14 02:38:16 at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_database_core(HiveMetaStore.java:1251) > Feb 14 02:38:16 at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_database(HiveMetaStore.java:1325) > Feb 14 02:38:16 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > Feb 14 02:38:16 at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > Feb 14 02:38:16 at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > Feb 14 02:38:16 at java.lang.reflect.Method.invoke(Method.java:498) > Feb 14 02:38:16 at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:147) > Feb 14 02:38:16 at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:108) > Feb 14 02:38:16 at com.sun.proxy.$Proxy35.create_database(Unknown > Source) > Feb 14 02:38:16 at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createDatabase(HiveMetaStoreClient.java:809) > Feb 14 02:38:16 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > Feb 14 02:38:16 at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > Feb 14 02:38:16 at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > Feb 14 02:38:16 at java.lang.reflect.Method.invoke(Method.java:498) > Feb 14 02:38:16 at > org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:208) > Feb 14 02:38:16 at com.sun.proxy.$Proxy36.createDatabase(Unknown Source) > Feb 14 02:38:16 at > org.apache.flink.table.catalog.hive.client.HiveMetastoreClientWrapper.createDatabase(HiveMetastoreClientWrapper.java:179) > Feb 14 02:38:16 at > org.apache.flink.table.catalog.hive.HiveCatalog.createDatabase(HiveCatalog.java:369) > Feb 14 02:38:16 ... 48 more{code} > [https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=43954&view=logs&j=245e1f2e-ba5b-5570-d689-25ae21e5302f&t=d04c9862-880c-52f5-574b-a7a79fef8e0f&l=25508] -- This message was sent by Atlassian Jira (v8.20.10#820010)