hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mithun Radhakrishnan (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HIVE-17472) Drop-partition for multi-level partition fails, if data does not exist.
Date Thu, 21 Sep 2017 17:56:00 GMT

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

Mithun Radhakrishnan edited comment on HIVE-17472 at 9/21/17 5:55 PM:
----------------------------------------------------------------------

Ok, looks like the dummy patches are producing the same failures on {{branch-2.2}} as with
the fix. The failing tests seem to pass locally (or fail in the same manner as without the
patch), save for the {{TestSparkCliDriver}}. 

I'm +1. Just running a couple of double-checks before I check this in.


was (Author: mithun):
Ok, looks like the dummy patches are producing the same failures on {{branch-2.2}} as the
fix. The failing tests seem to run locally, save for the {{TestSparkCliDriver}}. 

I'm +1. Just running a couple of double-checks before I check this in.

> Drop-partition for multi-level partition fails, if data does not exist.
> -----------------------------------------------------------------------
>
>                 Key: HIVE-17472
>                 URL: https://issues.apache.org/jira/browse/HIVE-17472
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 2.2.0, 3.0.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Chris Drome
>         Attachments: HIVE-17472.1.patch, HIVE-17472.2-branch-2.patch, HIVE-17472.2.patch,
HIVE-17472.3-branch-2.2.patch, HIVE-17472.3-branch-2.patch, HIVE-17472.3.patch, HIVE-17472.4-branch-2.2.patch,
HIVE-17472.4.patch
>
>
> Raising this on behalf of [~cdrome] and [~selinazh]. 
> Here's how to reproduce the problem:
> {code:sql}
> CREATE TABLE foobar ( foo STRING, bar STRING ) PARTITIONED BY ( dt STRING, region STRING
) STORED AS RCFILE LOCATION '/tmp/foobar';
> ALTER TABLE foobar ADD PARTITION ( dt='1', region='A' ) ;
> dfs -rm -R -skipTrash /tmp/foobar/dt=1;
> ALTER TABLE foobar DROP PARTITION ( dt='1' );
> {code}
> This causes a client-side error as follows:
> {code}
> 15/02/26 23:08:32 ERROR exec.DDLTask: org.apache.hadoop.hive.ql.metadata.HiveException:
Unknown error. Please check logs.
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message