[
https://issues.apache.org/jira/browse/HIVE-11824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasanth Jayachandran updated HIVE-11824:
-----------------------------------------
Attachment: HIVE-11824.2.patch
Addressed review comments.
> 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, HIVE-11824.2.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)