Aswathy Chellammal Sreekumar created HIVE-10910: ---------------------------------------------------
Summary: 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: Bug 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)