Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-141

drop table partition behaving oddly - does not create subdirectories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.3.0
    • Metastore
    • None

    Description

      for example, I have a table, which has two partitions:
      tmp_table_name/dt=2008-11-01
      tmp_table_name/dt=2008-11-02

      When we use hive metastore to drop the first partition (as root), I expect the data file will be moved to user/root/.Trash/081103xxxx/tmp_table_name/dt=2008-11-01 by default. However, directory tmp_table_name was not created, the data was moved to user/root/.Trash/081103xxxx/dt=2008-11-01, which makes data recovery a very difficult task.

      Attachments

        Issue Links

          Activity

            People

              prasadc Prasad Chakka
              hliu Hongliang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified