You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2015/06/04 21:02:38 UTC

[jira] [Updated] (HIVE-10910) Alter table drop partition queries in encrypted zone failing to remove data from HDFS

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

Eugene Koifman updated HIVE-10910:
----------------------------------
    Issue Type: Sub-task  (was: Bug)
        Parent: HIVE-8065

> Alter table drop partition queries in encrypted zone failing to remove data from HDFS
> -------------------------------------------------------------------------------------
>
>                 Key: HIVE-10910
>                 URL: https://issues.apache.org/jira/browse/HIVE-10910
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>    Affects Versions: 1.2.0
>            Reporter: Aswathy Chellammal Sreekumar
>            Assignee: Eugene Koifman
>
> Alter table query trying to drop partition removes metadata of partition but fails to remove the data from HDFS
> hive> create table table_1(name string, age int, gpa double) partitioned by (b string) stored as textfile;
> OK
> Time taken: 0.732 seconds
> hive> alter table table_1 add partition (b='2010-10-10');
> OK
> Time taken: 0.496 seconds
> hive> show partitions table_1;
> OK
> b=2010-10-10
> Time taken: 0.781 seconds, Fetched: 1 row(s)
> hive> alter table table_1 drop partition (b='2010-10-10');
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Got exception: java.io.IOException Failed to move to trash: hdfs://<ip-address>:8020/<warehouse-dir>/table_1/b=2010-10-10
> hive> show partitions table_1;
> OK
> Time taken: 0.622 seconds



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)