hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-2193) drop partition with partial specification should remove the HDFS directory corresponding to the root of PS
Date Fri, 03 Jun 2011 18:47:48 GMT
drop partition with partial specification should remove the HDFS directory corresponding to
the root of PS
----------------------------------------------------------------------------------------------------------

                 Key: HIVE-2193
                 URL: https://issues.apache.org/jira/browse/HIVE-2193
             Project: Hive
          Issue Type: Improvement
            Reporter: Ning Zhang
            Assignee: Paul Yang


If a table have multiple partitions, say (ds, hr), currently the following command:

 alter table T drop partition(ds='1');

won't delete the directory .../T/ds=1, although all subdirectories are deleted. This could
result in a lot of dangling inodes in HDFS.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message