Aihua Xu created HIVE-20345:
-------------------------------
Summary: Drop database may hang by the change in HIVE-11258
Key: HIVE-20345
URL: https://issues.apache.org/jira/browse/HIVE-20345
Project: Hive
Issue Type: Bug
Components: Standalone Metastore
Affects Versions: 2.0.0, 1.3.0
Reporter: Aihua Xu
Assignee: Aihua Xu
In HiveMetaStore.java drop_database_core function, HIVE-11258 updates the
startIndex from endIndex incorrectly inside {{if (tables != null &&
!tables.isEmpty())}} statement. If the tables get deleted before
getTableObjectsByName() call, then returned table list is empty and startIndex
won't get updated.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)