hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16346) inheritPerms should be conditional based on the target filesystem
Date Thu, 20 Apr 2017 14:25:04 GMT

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

Aihua Xu commented on HIVE-16346:
---------------------------------

[~stakiar_impala_496e] The patch 3 looks good to me.  I'm wondering why you only build against
branch-2, not master branch. We should also commit to master branch as well, right?

> inheritPerms should be conditional based on the target filesystem
> -----------------------------------------------------------------
>
>                 Key: HIVE-16346
>                 URL: https://issues.apache.org/jira/browse/HIVE-16346
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Sahil Takiar
>            Assignee: Sahil Takiar
>         Attachments: HIVE-16346.1-branch-2.patch, HIVE-16346.2-branch-2.patch, HIVE-16346.3-branch-2.patch
>
>
> Right now, a lot of the logic in {{Hive.java}} attempts to set permissions of different
files that have been moved / copied. This is only triggered if {{hive.warehouse.subdir.inherit.perms}}
is set to true.
> However, on blobstores such as S3, there is no concept of file permissions so these calls
are unnecessary, which can hurt performance.
> One solution would be to set {{hive.warehouse.subdir.inherit.perms}} to false, but this
would be a global change that affects an entire HS2 instance. So HDFS tables will no longer
have permissions inheritance.
> A better solution would be to make the inheritance of permissions conditional on the
target filesystem.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message