hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Wilfong (JIRA)" <>
Subject [jira] [Created] (HIVE-3134) Drop table/index/database can result in orphaned locations
Date Wed, 13 Jun 2012 23:37:45 GMT
Kevin Wilfong created HIVE-3134:

             Summary: Drop table/index/database can result in orphaned locations
                 Key: HIVE-3134
             Project: Hive
          Issue Type: Bug
            Reporter: Kevin Wilfong

Today when a managed table has a partition with a location which is not a subdirectory of
the table's location, when the table is dropped the partition's data is not deleted from HDFS,
resulting in an orphaned directory (the data exists but nothing points to it).

The same applies to dropping a database with cascade and a table has a location outside the

I think it is safe to assume managed tables/partitions own the directories they point to,
so we should clean these up.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message