Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-10027

NPE in VolumeInfoMetrics.getCommitted()

    XMLWordPrintableJSON

Details

    Description

      HddsVolume.committedBytes could be null. However, VolumeInfoMetrics.getCommitted() may use it and result in NullPointerException.

      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
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: