[
https://issues.apache.org/jira/browse/HIVE-12965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15139111#comment-15139111
]
Xuefu Zhang commented on HIVE-12965:
------------------------------------
Patch looks good. Some minor comments on RB. If you need to submit a patch, the
if-else block (isDfsDir()) is relative big and it might be more readable if we
can refactor them into helper methods.
> Insert overwrite local directory should perserve the overwritten directory
> permission
> -------------------------------------------------------------------------------------
>
> Key: HIVE-12965
> URL: https://issues.apache.org/jira/browse/HIVE-12965
> Project: Hive
> Issue Type: Bug
> Reporter: Chaoyu Tang
> Assignee: Chaoyu Tang
> Attachments: HIVE-12965.patch
>
>
> In Hive, "insert overwrite local directory" first deletes the overwritten
> directory if exists, recreate a new one, then copy the files from src
> directory to the new local directory. This process sometimes changes the
> permissions of the to-be-overwritten local directory, therefore causing some
> applications no more to be able to access its content.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)