[jira] [Updated] (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 updated HIVE-24247: --- Fix Version/s: (was: 4.0.0) Affects Version/s: (was: 4.0.0) > 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} > .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)
[jira] [Updated] (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 ] ASF GitHub Bot updated HIVE-24247: -- Labels: pull-request-available (was: ) > 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 >Affects Versions: 4.0.0 >Reporter: Adesh Kumar Rao >Assignee: Adesh Kumar Rao >Priority: Minor > Labels: pull-request-available > Fix For: 4.0.0 > > Time Spent: 10m > 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} > .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)