You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "luoyuxia (Jira)" <ji...@apache.org> on 2023/02/27 03:56:00 UTC
[jira] [Created] (HIVE-27108) Hive3 embedded metastore reports InvalidObjectException(message:No such catalog hive)
luoyuxia created HIVE-27108:
-------------------------------
Summary: Hive3 embedded metastore reports InvalidObjectException(message:No such catalog hive)
Key: HIVE-27108
URL: https://issues.apache.org/jira/browse/HIVE-27108
Project: Hive
Issue Type: Bug
Components: Metastore
Reporter: luoyuxia
Hi, we're maintaining Flink's Hive connector which integrates Hive's meta store as Flink's catalog. But now, we encounter a test issue FLINK-30433 with Hive3.
The exception stack is as follows:
{code:java}
Caused by: InvalidObjectException(message:No such catalog hive) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_database_core(HiveMetaStore.java:1251) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_database(HiveMetaStore.java:1325){code}
We are using embedded metastore for test purpose. I think the hive metastore should have created the default catalog in initialization, ans this exception shoudn't happen. I really can't understand why this happens. Btw, it happens in some times and I can't reproduce it in my local env.
I don't have any clue on it, really appreciated if someone can give some ideas from Hive's side.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)