[
https://issues.apache.org/jira/browse/HIVE-8446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16622476#comment-16622476
]
Alexander Kolbasov commented on HIVE-8446:
------------------------------------------
Why would tests attempt to delete /tmp directory? This seems like a test issue.
But for this issue in general. Suppose that user deletes table T and it is
successfully deleted in HMS but data deletion fails. Suppose that we return an
error to a user. Now we are still in a weird state - table T is no longer
visible in HMS but it still has data. Whether we return an error to a user or
not things are in a bad state.
> Failing to delete data after dropping a table or database should result in
> error
> --------------------------------------------------------------------------------
>
> Key: HIVE-8446
> URL: https://issues.apache.org/jira/browse/HIVE-8446
> Project: Hive
> Issue Type: Bug
> Reporter: Brock Noland
> Assignee: Bharathkrishna Guruvayoor Murali
> Priority: Major
> Attachments: HIVE-8446.1.patch
>
>
> Currently if we drop a table and it fails to delete the data, the command
> completes successfully. We should instead return an error to the user.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)