Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
HiveMetaStoreClient.dropDatabase has a strange implementation to ensure dealing with client side hooks (for non-native tables e.g. HBase). Currently it starts by retrieving all the tables from HMS, and then sends dropTable calls to HMS table-by-table. At the end a dropDatabase just to be sure
I believe this could be refactored so that it speeds up the dropDB in situations where the average table count per DB is very high.
Attachments
Attachments
Issue Links
- is duplicated by
-
HIVE-18707 Dropping database via HiveMetastoreClient involves useless work
- Resolved
- links to