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)

Reply via email to