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

BuiltInGzipDecompressor is only released during full GC

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.94.4, 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: