You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Adesh Kumar Rao (Jira)" <ji...@apache.org> on 2020/10/14 06:54:00 UTC

[jira] [Resolved] (HIVE-24247) StorageBasedAuthorizationProvider does not look into Hadoop ACL while check for access

     [ https://issues.apache.org/jira/browse/HIVE-24247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adesh Kumar Rao resolved HIVE-24247.
------------------------------------
    Resolution: Invalid

> StorageBasedAuthorizationProvider does not look into Hadoop ACL while check for access
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-24247
>                 URL: https://issues.apache.org/jira/browse/HIVE-24247
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Adesh Kumar Rao
>            Assignee: Adesh Kumar Rao
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> StorageBasedAuthorizationProvider uses
> {noformat}
> FileSystem.access(Path, Action)
> {noformat}
> method to check the access.
> This method gets the FileStatus object and checks access based on that. ACL's are not present in FileStatus.
>  
> Instead, Hive should use
> {noformat}
> FileSystem.get(path.toUri(), conf);
> {noformat}
> {noformat}
> <SpecificFileSystemImplementation>.access(Path, Action)
> {noformat}
> where the implemented file system can do the access checks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)