[
https://issues.apache.org/jira/browse/HADOOP-12007?focusedWorklogId=792831&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-792831
]
ASF GitHub Bot logged work on HADOOP-12007:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 19/Jul/22 17:19
Start Date: 19/Jul/22 17:19
Worklog Time Spent: 10m
Work Description: dbtsai commented on PR #4585:
URL: https://github.com/apache/hadoop/pull/4585#issuecomment-1189355811
cc @sunchao
Issue Time Tracking
-------------------
Worklog Id: (was: 792831)
Time Spent: 40m (was: 0.5h)
> GzipCodec native CodecPool leaks memory
> ---------------------------------------
>
> Key: HADOOP-12007
> URL: https://issues.apache.org/jira/browse/HADOOP-12007
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.7.0
> Reporter: Yejun Yang
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> org/apache/hadoop/io/compress/GzipCodec.java call
> CompressionCodec.Util.createOutputStreamWithCodecPool to use CodecPool. But
> compressor objects are actually never returned to pool which cause memory
> leak.
> HADOOP-10591 uses CompressionOutputStream.close() to return Compressor object
> to pool. But CompressionCodec.Util.createOutputStreamWithCodecPool actually
> returns a CompressorStream which overrides close().
> This cause CodecPool.returnCompressor never being called. In my log file I
> can see lots of "Got brand-new compressor [.gz]" but no "Got recycled
> compressor".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]