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

RocksIterator not closed properly in LegacyBucketHandler

    XMLWordPrintableJSON

Details

    Description

      StackTrace for unclosed instance: org.apache.hadoop.hdds.utils.db.managed.ManagedObject.<init>(ManagedObject.java:35)
      org.apache.hadoop.hdds.utils.db.managed.ManagedRocksIterator.<init>(ManagedRocksIterator.java:28)
      org.apache.hadoop.hdds.utils.db.managed.ManagedRocksIterator.managed(ManagedRocksIterator.java:32)
      org.apache.hadoop.hdds.utils.db.RocksDatabase.newIterator(RocksDatabase.java:757)
      org.apache.hadoop.hdds.utils.db.RDBTable.iterator(RDBTable.java:167)
      org.apache.hadoop.hdds.utils.db.TypedTable.iterator(TypedTable.java:286)
      org.apache.hadoop.ozone.recon.api.handlers.LegacyBucketHandler.calculateDUUnderObject(LegacyBucketHandler.java:123)
      org.apache.hadoop.ozone.recon.api.handlers.RootEntityHandler.getDuResponse(RootEntityHandler.java:120)
      org.apache.hadoop.ozone.recon.api.handlers.RootEntityHandler.getQuotaResponse(RootEntityHandler.java:149)
      org.apache.hadoop.ozone.recon.api.NSSummaryEndpoint.getQuotaUsage(NSSummaryEndpoint.java:162)
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: