You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/05/14 15:13:00 UTC

[jira] [Resolved] (HDDS-8010) Improve DN warning message when getBlock does not find the block

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

Attila Doroszlai resolved HDDS-8010.
------------------------------------
    Fix Version/s: 1.4.0
       Resolution: Implemented

> Improve DN warning message when getBlock does not find the block
> ----------------------------------------------------------------
>
>                 Key: HDDS-8010
>                 URL: https://issues.apache.org/jira/browse/HDDS-8010
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Wei-Chiu Chuang
>            Assignee: Gao Jhih Cyuan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.4.0
>
>
> We found the following message in DN but the message isn't clear:
> (1) should print the block id
> (2) the message should be logged at WARN level.
> {noformat}
> 2023-02-21 18:44:42,304 INFO org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler: Operation: GetBlock , Trace ID:  , Message: Unable to find the block. , Result: NO_SUCH_BLOCK , StorageContainerExce
> ption Occurred.
> org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException: Unable to find the block.
>         at org.apache.hadoop.ozone.container.keyvalue.impl.BlockManagerImpl.getBlockByID(BlockManagerImpl.java:359)
>         at org.apache.hadoop.ozone.container.keyvalue.impl.BlockManagerImpl.getBlock(BlockManagerImpl.java:256)
>         at org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler.handleGetBlock(KeyValueHandler.java:578)
>         at org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler.dispatchRequest(KeyValueHandler.java:246)
>         at org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler.handle(KeyValueHandler.java:220)
>         at org.apache.hadoop.ozone.container.common.impl.HddsDispatcher.dispatchRequest(HddsDispatcher.java:320)
> {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