hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-9182) avoid FileSystem.getAclStatus rpc call for filesystems that don't support acl
Date Fri, 17 Apr 2015 22:55:00 GMT

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

Szehon Ho commented on HIVE-9182:
---------------------------------

+1, thanks for pointing this out

> avoid FileSystem.getAclStatus rpc call for filesystems that don't support acl
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-9182
>                 URL: https://issues.apache.org/jira/browse/HIVE-9182
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>            Reporter: Thejas M Nair
>            Assignee: Abdelrahman Shettia
>             Fix For: 1.2.0
>
>         Attachments: HIVE-9182.2.patch, HIVE-9182.3.patch, HIVE-9182.3.patch
>
>
> File systems such as s3, wasp (azure) don't implement Hadoop FileSystem acl functionality.
> Hadoop23Shims has code that calls getAclStatus on file systems.
> Instead of calling getAclStatus and catching the exception, we can also check FsPermission#getAclBit
.
> Additionally, instead of catching all exceptions for calls to getAclStatus and ignoring
them, it is better to just catch UnsupportedOperationException.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message