Wei-Chiu Chuang created HDDS-14832:
--------------------------------------
Summary: Make Datanode dispatcher error message more informative
Key: HDDS-14832
URL: https://issues.apache.org/jira/browse/HDDS-14832
Project: Apache Ozone
Issue Type: Improvement
Components: Ozone Datanode
Reporter: Wei-Chiu Chuang
This message isn't informative.
{noformat}
java.lang.IllegalStateException
at
com.google.common.base.Preconditions.checkState(Preconditions.java:496)
at
org.apache.hadoop.ozone.container.common.impl.HddsDispatcher.dispatchRequest(HddsDispatcher.java:379)
at
org.apache.hadoop.ozone.container.common.impl.HddsDispatcher.lambda$dispatch$0(HddsDispatcher.java:178)
at
org.apache.hadoop.hdds.server.OzoneProtocolMessageDispatcher.processRequest(OzoneProtocolMessageDispatcher.java:87)
at
org.apache.hadoop.ozone.container.common.impl.HddsDispatcher.dispatch(HddsDispatcher.java:177)
2026-03-11 13:51:49,097 WARN
[ChunkReader-ELG-0]-org.apache.ratis.thirdparty.io.netty.channel.DefaultChannelPipeline:
An exceptionCaught() event was fired, and it reached at the tail of the
pipeline. It usually means the last handler in the pipeline did not handle the
exception.
org.apache.ratis.thirdparty.io.netty.channel.unix.Errors$NativeIoException:
accept(..) failed: Too many open files{noformat}
Let's make this Preconditions.checkState() more informative
[https://github.com/apache/ozone/blob/1e785c599b7ccd7359125061eefe56e66feca9fa/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/HddsDispatcher.java#L404-L407]
add: container id, and the actual containerState.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]