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

Hive drop table on encyption zone fails for external tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.1, 2.1.0
    • Encryption, Metastore
    • None

    Description

      When dropping an external table with its data located in an encryption zone, hive should not throw out MetaException(message:Unable to drop table because it is in an encryption zone and trash is enabled. Use PURGE option to skip trash.) in checkTrashPurgeCombination since the data should not get deleted (or trashed) anyway regardless HDFS Trash is enabled or not.

      Attachments

        1. HIVE-13243.patch
          9 kB
          Chaoyu Tang
        2. HIVE-13243.1.patch
          14 kB
          Chaoyu Tang
        3. HIVE-13243.2.patch
          15 kB
          Chaoyu Tang

        Activity

          People

            ctang Chaoyu Tang
            ctang Chaoyu Tang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: