hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10910) Alter table drop partition queries in encrypted zone failing to remove data from HDFS
Date Fri, 05 Jun 2015 01:58:38 GMT

    [ https://issues.apache.org/jira/browse/HIVE-10910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14573934#comment-14573934
] 

Eugene Koifman commented on HIVE-10910:
---------------------------------------

the failures are not related

> 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
>         Attachments: HIVE-10910.patch
>
>
> 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)

Mime
View raw message