[ 
https://issues.apache.org/jira/browse/HIVE-20345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aihua Xu updated HIVE-20345:
----------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.0
           Status: Resolved  (was: Patch Available)

Pushed to master. Thanks [~ngangam] for code reviewing.

> Drop database may hang if the tables get deleted from a different call
> ----------------------------------------------------------------------
>
>                 Key: HIVE-20345
>                 URL: https://issues.apache.org/jira/browse/HIVE-20345
>             Project: Hive
>          Issue Type: Bug
>          Components: Standalone Metastore
>    Affects Versions: 1.3.0, 2.0.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-20345.1.patch
>
>
> 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)

Reply via email to