You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2018/08/09 01:37:00 UTC

[jira] [Assigned] (HIVE-20345) Drop database may hang by the change in HIVE-11258

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

Aihua Xu reassigned HIVE-20345:
-------------------------------


> 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
>            Priority: Major
>
> 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)