Adesh Kumar Rao created HIVE-24247:

             Summary: StorageBasedAuthorizationProvider does not look into 
Hadoop ACL while check for access
                 Key: HIVE-24247
             Project: Hive
          Issue Type: Bug
    Affects Versions: 4.0.0
            Reporter: Adesh Kumar Rao
            Assignee: Adesh Kumar Rao
             Fix For: 4.0.0

StorageBasedAuthorizationProvider uses
FileSystem.access(Path, Action)
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
FileSystem.get(path.toUri(), conf);
<SpecificFileSystemImplementation>.access(Path, Action)
where the implemented file system can do the access checks.

This message was sent by Atlassian Jira

Reply via email to