Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-27108

Hive3 embedded metastore reports InvalidObjectException(message:No such catalog hive)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Metastore
    • None

    Description

      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:

      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)

      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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            luoyuxia luoyuxia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: