You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/06/15 06:56:00 UTC

[jira] [Updated] (HDDS-6847) Audit for ALLOCATE_BLOCK should indicate number of allocated blocks

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

ASF GitHub Bot updated HDDS-6847:
---------------------------------
    Labels: pull-request-available  (was: )

> Audit for ALLOCATE_BLOCK should indicate number of allocated blocks
> -------------------------------------------------------------------
>
>                 Key: HDDS-6847
>                 URL: https://issues.apache.org/jira/browse/HDDS-6847
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: SCM
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>
> ALLOCATE_BLOCK audit message reports success even if SCM is unable to allocate enough blocks.  It should indicate the actual number of allocated blocks.  Also consider logging as FAILURE instead of SUCCESS.
> {noformat}
> 2022-06-08 19:40:49,262 | INFO  | SCMAudit | user=om | ip=... | op=ALLOCATE_BLOCK {replication=EC/ECReplicationConfig{data=5, parity=2, ecChunkSize=104448, codec=rs}, owner=om1, size=268435456, num=1} | ret=SUCCESS |
> {noformat}
> {noformat}
> 2022-06-08 19:40:49,262 ERROR org.apache.hadoop.hdds.scm.block.BlockManagerImpl: Unable to allocate a block for the size: 268435456, replicationConfig: EC/ECReplicationConfig{data=5, parity=2, ecChunkSize=104448, codec=rs}
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org