You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Szehon Ho (JIRA)" <ji...@apache.org> on 2014/05/20 02:49:39 UTC

[jira] [Updated] (HIVE-7092) Insert overwrite should not delete the original directory

     [ https://issues.apache.org/jira/browse/HIVE-7092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Szehon Ho updated HIVE-7092:
----------------------------

    Attachment: HIVE-7092.patch

Attaching a fix.

> Insert overwrite should not delete the original directory
> ---------------------------------------------------------
>
>                 Key: HIVE-7092
>                 URL: https://issues.apache.org/jira/browse/HIVE-7092
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>         Attachments: HIVE-7092.patch
>
>
> Today the implementation of "insert overwrite" table or partition deletes the entire directory of the table/partition recursively using the HDFS shell (-rmr) and then re-creates it.
> This makes it get rid of certain user-set attributes of the directory, like permission, owner, group, and will become more important with introduction of HDFS extended-ACL's.



--
This message was sent by Atlassian JIRA
(v6.2#6252)