You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2014/12/20 06:42:13 UTC
[jira] [Updated] (HIVE-9182) avoid FileSystem.getAclStatus rpc call
for filesystems that don't support acl
[ https://issues.apache.org/jira/browse/HIVE-9182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair updated HIVE-9182:
--------------------------------
Assignee: Abdelrahman Shettia
> 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
>
> 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)