Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-2310

Add PURGE option to DROP TABLE

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.1
    • Impala 2.3.0
    • None
    • Kerberos enabled cluster with HDFS Encryption

    Description

      Prior to using HDFS Encryption to create an encryption zone that is used to hold data files for an Impala table we would see the expected behaviour of DROP TABLE removing the data files for the table. Now that encryption is used the drop table command succeeds, however, the data files are not removed and the Hive Metastore log shows "can't be moved from an encryption zone."

      Attempting to remove the data files using "hdfs dfs -rm" produces the same message as above, however, adding -skipTrash allows the files to be removed.

      On the basis of the above, adding a PURGE option to DROP TABLE (and ALTER TABLE ... DROP PARTITION) that results in -skipTrash been used for the deletion of the data files would be very useful.

      Attachments

        Issue Links

          Activity

            People

              bharathv Bharath Vissapragada
              nasmart Martin Nash
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: