You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2023/02/22 18:11:00 UTC
[jira] [Created] (HDDS-8010) Improve DN warning message when getBlock does not find the block
Wei-Chiu Chuang created HDDS-8010:
-------------------------------------
Summary: 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: Bug
Reporter: Wei-Chiu Chuang
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.
{norformat}
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