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

Marton Elek resolved HDDS-3457.
-------------------------------
    Fix Version/s: 0.6.0
       Resolution: Fixed

> 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
>          Components: om, Ozone Filesystem
>            Reporter: mingchao zhao
>            Priority: Major
>             Fix For: 0.6.0
>
>         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 key 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. Unless the file already exists, we override it.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to