[ https://issues.apache.org/jira/browse/HIVE-11824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14745891#comment-14745891 ]
Ashutosh Chauhan commented on HIVE-11824: ----------------------------------------- For local dirs, do we really need to worry about inheriting permissions? That feature is meant for HDFS, not so much for local fs. > 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)