You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasad Chakka (JIRA)" <ji...@apache.org> on 2009/02/09 06:04:59 UTC

[jira] Resolved: (HIVE-141) drop table partition behaving oddly - does not create subdirectories

     [ https://issues.apache.org/jira/browse/HIVE-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka resolved HIVE-141.
--------------------------------

    Resolution: Fixed

fixed by patching hadoop

> drop table partition behaving oddly - does not create subdirectories
> --------------------------------------------------------------------
>
>                 Key: HIVE-141
>                 URL: https://issues.apache.org/jira/browse/HIVE-141
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Hao Liu
>            Assignee: Prasad Chakka
>            Priority: Critical
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.