hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cazen Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11870) When dropping an imported table, hdfs for that table is not removed.
Date Fri, 18 Sep 2015 05:37:05 GMT

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

Cazen Lee commented on HIVE-11870:
----------------------------------

Goodday This is Cazen

Could I ask that what is your "student" table type? Managed? or External?

> When dropping an imported table, hdfs for that table is not removed. 
> ---------------------------------------------------------------------
>
>                 Key: HIVE-11870
>                 URL: https://issues.apache.org/jira/browse/HIVE-11870
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Takahiko Saito
>
> Export a table to some dir and import it with a different table name.
> {noformat}
> export table student to '/tmp/student';
> import table imported_student from '/tmp/student';
> {noformat}
> Then drop the imported table successfully
> {noformat}
> drop table imported_student;
> {noformat}
> but hdfs for that table still exists
> {noformat}
> hadoop fs -ls /apps/hive/warehouse/imported_student
> Found 1 items
> -rwxrwxrwx   3 hrt_qa hdfs     219190 2015-09-17 22:19 /apps/hive/warehouse/imported_student/studenttab10k
> {noformat}



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

Mime
View raw message