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

DROP TABLE PURGE on S3A table with too many files does not delete the files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • Metastore

    Description

      I've noticed that when we do a DROP TABLE tablename PURGE on a table on S3A that has many files, the files never get deleted. However, the Hive metastore logs do say that the path was deleted:

      "Not moving [path] to trash"
      "Deleted the diretory [path]"

      I initially thought that this was due to the eventually consistent nature of S3 for deletes, however, a week later, the files still exist.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sailesh Sailesh Mukil
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: