[
https://issues.apache.org/jira/browse/HDDS-10027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-10027:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
>
> 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]