You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2011/07/27 01:25:10 UTC

[jira] [Updated] (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 ]

Carl Steinbach updated HIVE-141:
--------------------------------

    Fix Version/s: 0.3.0

> drop table partition behaving oddly - does not create subdirectories
> --------------------------------------------------------------------
>
>                 Key: HIVE-141
>                 URL: https://issues.apache.org/jira/browse/HIVE-141
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Hao Liu
>            Assignee: Prasad Chakka
>            Priority: Critical
>             Fix For: 0.3.0
>
>   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.
For more information on JIRA, see: http://www.atlassian.com/software/jira