[
https://issues.apache.org/jira/browse/HIVE-11824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14745916#comment-14745916
]
Prasanth Jayachandran commented on HIVE-11824:
----------------------------------------------
Yeah. That makes sense. We don't really need to inherit permissions. Just
checked the code, we don't do it when doing copyFromLocal. Will update the
patch.
> Insert to local directory causes staging directory to be copied
> ---------------------------------------------------------------
>
> Key: HIVE-11824
> URL: https://issues.apache.org/jira/browse/HIVE-11824
> Project: Hive
> Issue Type: Bug
> Affects Versions: 1.3.0, 2.0.0
> Reporter: Prasanth Jayachandran
> Assignee: Prasanth Jayachandran
> Attachments: HIVE-11824.1.patch
>
>
> While running tez_insert_overwrite_local_directory_1.q test under tez and
> llap, the results were flaky. The reason being insert into local directory
> copies .staging directory to destination directory. This causes dfs -cat
> dest-dir/* to fail, failing the tests. Non local insert directory works fine
> as MoveTask performs move operation with hidden files removal filter before
> moving whereas local directory insert uses DFS.copyToLocalFile without hidden
> files filter.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)