[ 
https://issues.apache.org/jira/browse/HIVE-20345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16578743#comment-16578743
 ] 

Naveen Gangam commented on HIVE-20345:
--------------------------------------

Looks good to me .. +1

> 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
>         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