Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.3.7
-
None
Description
At start-up, HiveServer2 will do a full DB & Table scan. For large Hive Metastores, this operation could take 10+ minutes to complete. The goal of this task is to make this “verification” optional if possible.
Currently, Hive 2.3.7 has the following in HiveMaterializedViewsRegistry that is causing this behavior.
for (String dbName : db.getAllDatabases()) { // TODO: We should enhance metastore API such that it returns only // materialized views instead of all tables tables.addAll(db.getAllTableObjects(dbName)); }
It seems that <= Hive 2.3.x && >= Hive 3.0 does not have this behavior.
Attachments
Issue Links
- relates to
-
HIVE-18386 Create dummy materialized views registry and make it configurable
- Closed
- links to