[
https://issues.apache.org/jira/browse/HIVE-13662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15285379#comment-15285379
]
Ashutosh Chauhan commented on HIVE-13662:
-----------------------------------------
FileSinkOperator uses HiveFileFormatUtils.getHiveRecordWriter() which calls
HiveOutputFormat::getHiveRecordWriter() which will eventually call
FileSystem.create() which accepts permissions as an argument. That is where we
need to pass in permissions so that we have permissions set at the time of file
creation itself, so that we can avoid two calls on Namenode.
> Set file permission and ACL in file sink operator
> -------------------------------------------------
>
> Key: HIVE-13662
> URL: https://issues.apache.org/jira/browse/HIVE-13662
> Project: Hive
> Issue Type: Bug
> Reporter: Rui Li
> Assignee: Pengcheng Xiong
> Attachments: HIVE-13662.01.patch
>
>
> As suggested
> [here|https://issues.apache.org/jira/browse/HIVE-13572?focusedCommentId=15254438&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15254438].
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)