Details
-
Type:
Improvement
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
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.