Hive
  1. Hive
  2. HIVE-2193

drop partition with partial specification should remove the HDFS directory corresponding to the root of PS

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major 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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Paul Yang
            Reporter:
            Ning Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development