You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2019/10/16 12:10:00 UTC

[jira] [Resolved] (HDDS-2315) bucket creation fails because bucket does not exist

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

Attila Doroszlai resolved HDDS-2315.
------------------------------------
    Resolution: Invalid

Fixed by revert: https://github.com/apache/hadoop-ozone/commit/17081c2e

> bucket creation fails because bucket does not exist
> ---------------------------------------------------
>
>                 Key: HDDS-2315
>                 URL: https://issues.apache.org/jira/browse/HDDS-2315
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Manager
>    Affects Versions: 0.5.0
>            Reporter: Attila Doroszlai
>            Priority: Blocker
>
> Secure acceptance tests fail because no bucket can be created due to ACL check:
> {noformat}
> om_1        | 2019-10-16 10:42:04,422 [IPC Server handler 0 on 9862] INFO       - created volume:vol-0-38760 for user:HTTP/scm@EXAMPLE.COM
> om_1        | 2019-10-16 10:42:04,464 [IPC Server handler 4 on 9862] INFO       - created volume:vol-1-41642 for user:HTTP/scm@EXAMPLE.COM
> om_1        | 2019-10-16 10:42:04,481 [IPC Server handler 11 on 9862] INFO       - created volume:vol-2-97489 for user:HTTP/scm@EXAMPLE.COM
> om_1        | 2019-10-16 10:42:04,496 [IPC Server handler 12 on 9862] INFO       - created volume:vol-3-24784 for user:HTTP/scm@EXAMPLE.COM
> om_1        | 2019-10-16 10:42:04,512 [IPC Server handler 6 on 9862] INFO       - created volume:vol-4-01299 for user:HTTP/scm@EXAMPLE.COM
> om_1        | 2019-10-16 10:42:04,550 [IPC Server handler 7 on 9862] ERROR      - Bucket creation failed for bucket:bucket-0-94230 in volume:vol-0-38760
> om_1        | BUCKET_NOT_FOUND org.apache.hadoop.ozone.om.exceptions.OMException: Bucket bucket-0-94230 is not found
> om_1        | 	at org.apache.hadoop.ozone.om.BucketManagerImpl.checkAccess(BucketManagerImpl.java:568)
> om_1        | 	at org.apache.hadoop.ozone.security.acl.OzoneNativeAuthorizer.checkAccess(OzoneNativeAuthorizer.java:89)
> om_1        | 	at org.apache.hadoop.ozone.om.OzoneManager.checkAcls(OzoneManager.java:1625)
> om_1        | 	at org.apache.hadoop.ozone.om.request.OMClientRequest.checkAcls(OMClientRequest.java:135)
> om_1        | 	at org.apache.hadoop.ozone.om.request.bucket.OMBucketCreateRequest.validateAndUpdateCache(OMBucketCreateRequest.java:146)
> om_1        | 	at org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.submitRequestDirectlyToOM(OzoneManagerProtocolServerSideTranslatorPB.java:219)
> om_1        | 	at org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.processRequest(OzoneManagerProtocolServerSideTranslatorPB.java:134)
> om_1        | 	at org.apache.hadoop.hdds.server.OzoneProtocolMessageDispatcher.processRequest(OzoneProtocolMessageDispatcher.java:72)
> om_1        | 	at org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.submitRequest(OzoneManagerProtocolServerSideTranslatorPB.java:100)
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org