You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Dinesh Chitlangia (Jira)" <ji...@apache.org> on 2023/01/31 05:30: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 ]

Dinesh Chitlangia updated HDDS-6847:
------------------------------------
    Fix Version/s: 1.4.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

Thanks [~adoroszlai]  for the contribution.

 

> 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
>             Fix For: 1.4.0
>
>
> 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.10#820010)

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