You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2016/05/01 03:01:12 UTC

[jira] [Commented] (HIVE-13572) Redundant setting full file status in Hive::copyFiles

    [ https://issues.apache.org/jira/browse/HIVE-13572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15265560#comment-15265560 ] 

Ashutosh Chauhan commented on HIVE-13572:
-----------------------------------------

[~lirui] If you are exploring setting permissions via FileSink operator can you create a follow-up jira to track that work?

> 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
>    Affects Versions: 2.1.0
>            Reporter: Rui Li
>            Assignee: Rui Li
>             Fix For: 2.1.0
>
>         Attachments: HIVE-13572.1.patch, HIVE-13572.2.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)