Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2274 Avoid buffer copying in Codec
  3. HDDS-8803

Release CodecBuffers when batch operation is closed

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • db

    Description

      java.lang.AssertionError: Found 2 leaked objects, check logs
      	at org.apache.hadoop.hdds.utils.db.CodecBuffer.assertNoLeaks(CodecBuffer.java:70)
      	at org.apache.hadoop.ozone.MiniOzoneClusterImpl.shutdown(MiniOzoneClusterImpl.java:451)
      	at org.apache.hadoop.hdds.upgrade.TestScmHAFinalization.shutdown(TestScmHAFinalization.java:117)
      
      org.apache.hadoop.hdds.upgrade.TestScmHAFinalization-output.txt
      2023-05-31 18:35:07,518 [Finalizer] WARN  db.CodecBuffer (CodecBuffer.java:finalize(94)) - LEAK 1: org.apache.hadoop.hdds.utils.db.CodecBuffer@617e237d, refCnt=1, capacity=1
      2023-05-31 18:35:07,518 [Finalizer] WARN  db.CodecBuffer (CodecBuffer.java:finalize(94)) - LEAK 2: org.apache.hadoop.hdds.utils.db.CodecBuffer@435b14c4, refCnt=1, capacity=14
      

      Attachments

        1. it-hdds-1.zip
          947 kB
          Attila Doroszlai
        2. it-hdds.zip
          1.64 MB
          Attila Doroszlai

        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: