You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2015/12/02 22:47:11 UTC

[jira] [Commented] (HIVE-12505) Insert overwrite in same encrypted zone silently fails to remove some existing files

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

Aihua Xu commented on HIVE-12505:
---------------------------------

+1 on the new patch. I feel we should trash the oldPath when oldPath is not subdir of destf since currently we lose the capability to bring the old data back for such case, but this is not related to this jira. We can have a followup if we see this as an issue.

> Insert overwrite in same encrypted zone silently fails to remove some existing files
> ------------------------------------------------------------------------------------
>
>                 Key: HIVE-12505
>                 URL: https://issues.apache.org/jira/browse/HIVE-12505
>             Project: Hive
>          Issue Type: Bug
>          Components: Encryption
>    Affects Versions: 1.2.1
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>         Attachments: HIVE-12505.1.patch, HIVE-12505.2.patch, HIVE-12505.3.patch, HIVE-12505.patch
>
>
> With HDFS Trash enabled but its encryption zone lower than Hive data directory, insert overwrite command silently fails to trash the existing files during overwrite, which could lead to unexpected incorrect results (more rows returned than expected)



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