[ https://issues.apache.org/jira/browse/HDDS-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
mingchao zhao updated HDDS-3457: -------------------------------- Description: When enable acl, I get OMException: Key not found, checkAccess failed,when I use ozonefs put file. !image-2020-04-20-15-37-18-655.png|width=820,height=47! When the acl is enabled, I find that the background needs to checkaccess to check for acl permissions. This will get [FileStatus|https://github.com/apache/hadoop-ozone/blob/56def9f0b8c89588a8008e21e299047e3cbeb37a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java#L1604] first, and when the file does Not exist, the "Key Not Found exception" will appear. As currently implemented, we would never be able to put file through ozoneFS after the enable acl. was:when enable acl, I get > When ACL enable, use ozonefs put key will get OMException: Key not found, > checkAccess failed. > ---------------------------------------------------------------------------------------------- > > Key: HDDS-3457 > URL: https://issues.apache.org/jira/browse/HDDS-3457 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Reporter: mingchao zhao > Priority: Major > Attachments: image-2020-04-20-15-37-18-655.png > > > When enable acl, I get OMException: Key not found, checkAccess failed,when I > use ozonefs put file. > !image-2020-04-20-15-37-18-655.png|width=820,height=47! > When the acl is enabled, I find that the background needs to checkaccess to > check for acl permissions. This will get > [FileStatus|https://github.com/apache/hadoop-ozone/blob/56def9f0b8c89588a8008e21e299047e3cbeb37a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java#L1604] > first, and when the file does Not exist, the "Key Not Found exception" will > appear. > As currently implemented, we would never be able to put file through ozoneFS > after the enable acl. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org