Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7435

BuiltInGzipDecompressor is only released during full GC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.4, 0.95.0
    • None
    • None
    • Reviewed

    Description

      That seems to be bug in Hadoop, actually.

      BuiltInGzipDecompressor.end() needs to be called to release it's resource, but it is not called anywhere in CodecPool.
      Instead the end() is called by finalize(), which is only called during a full gc (or never, depending on JVM).

      This is only an issue in test. In real life most folks will have the native GzipDecompressor

      Attachments

        1. 7435-0.96.txt
          1.0 kB
          Lars Hofhansl
        2. 7435-0.94.txt
          1.0 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              larsh Lars Hofhansl
              larsh Lars Hofhansl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: