You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2017/02/02 19:59:51 UTC

[jira] [Commented] (HIVE-14181) DROP TABLE in hive doesn't Throw Error

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

Chaoyu Tang commented on HIVE-14181:
------------------------------------

[~szita] Could you re-attach your patch to kick off another round of build to see if the previous test failures are related? Usually drop a table/partition won't throw out an exception if it fails to delete its underlying directory.

> DROP TABLE in hive doesn't Throw Error
> --------------------------------------
>
>                 Key: HIVE-14181
>                 URL: https://issues.apache.org/jira/browse/HIVE-14181
>             Project: Hive
>          Issue Type: Bug
>         Environment: Hive 1.1.0
> CDH 5.5.1-1
>            Reporter: Pranjal Singh
>            Assignee: Adam Szita
>              Labels: easyfix
>         Attachments: HIVE-14181.1.patch
>
>
> drop table table_name doen't throw an error if drop table fails.
> I was dropping a table and my trash didn't have enough space to hold the table but the drop table command showed success and the table wasn't deleted. But the hadoop fs -rm -r /hive/xyz.db/table_name/ gave an error "Failed to move to trash" because I didnot have enough space quota in my trash.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)