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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14573932#comment-14573932 ] 

Hive QA commented on HIVE-10910:
--------------------------------



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12737742/HIVE-10910.patch

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 9002 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_autogen_colalias
org.apache.hive.hcatalog.streaming.TestStreaming.testTransactionBatchCommit_Json
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4182/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4182/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4182/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12737742 - PreCommit-HIVE-TRUNK-Build

> 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)