[
https://issues.apache.org/jira/browse/HIVE-13572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15254438#comment-15254438
]
Ashutosh Chauhan commented on HIVE-13572:
-----------------------------------------
Ideal solution for this problem is to pass desired permissions to
FileSinkOperator and have it create files with desired permission (using mask).
That will avoid this 2-step process of first creating files and then setting
permissions on it.
> Redundant setting full file status in Hive::copyFiles
> -----------------------------------------------------
>
> Key: HIVE-13572
> URL: https://issues.apache.org/jira/browse/HIVE-13572
> Project: Hive
> Issue Type: Bug
> Reporter: Rui Li
> Assignee: Rui Li
> Attachments: HIVE-13572.1.patch
>
>
> We set full file status in each copy-file thread. I think it's redundant and
> hurts performance when we have multiple files to copy.
> {code}
> if (inheritPerms) {
> ShimLoader.getHadoopShims().setFullFileStatus(conf,
> fullDestStatus, destFs, destf);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)