Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20345

Drop database may hang if the tables get deleted from a different call

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 2.0.0
    • Fix Version/s: 4.0.0
    • Component/s: Standalone Metastore
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              aihuaxu Aihua Xu
              Reporter:
              aihuaxu Aihua Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: