Tsz-wo Sze created HDDS-10027:
---------------------------------
Summary: NPE in VolumeInfoMetrics.getCommitted()
Key: HDDS-10027
URL: https://issues.apache.org/jira/browse/HDDS-10027
Project: Apache Ozone
Issue Type: Bug
Components: Ozone Datanode
Reporter: Tsz-wo Sze
HddsVolume.committedBytes could be null. However,
VolumeInfoMetrics.getCommitted() may use it and result in NullPointerException.
{code:java}
Caused by: java.lang.NullPointerException
at
org.apache.hadoop.ozone.container.common.volume.HddsVolume.getCommittedBytes(HddsVolume.java:303)
at
org.apache.hadoop.ozone.container.common.volume.VolumeInfoMetrics.getCommitted(VolumeInfoMetrics.java:147)
... 97 more
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]