You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ning Zhang (JIRA)" <ji...@apache.org> on 2011/06/03 20:47:48 UTC

[jira] [Created] (HIVE-2193) drop partition with partial specification should remove the HDFS directory corresponding to the root of PS

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