[ https://issues.apache.org/jira/browse/HADOOP-10591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14066252#comment-14066252 ]
Hudson commented on HADOOP-10591: --------------------------------- FAILURE: Integrated in Hadoop-Yarn-trunk #616 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/616/]) HADOOP-10591. Compression codecs must used pooled direct buffers or deallocate direct buffers when stream is closed (cmccabe) (cmccabe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1611423) * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/BZip2Codec.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/CompressionCodec.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/CompressionInputStream.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/CompressionOutputStream.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/DefaultCodec.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/GzipCodec.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/Lz4Codec.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/SnappyCodec.java > Compression codecs must used pooled direct buffers or deallocate direct > buffers when stream is closed > ----------------------------------------------------------------------------------------------------- > > Key: HADOOP-10591 > URL: https://issues.apache.org/jira/browse/HADOOP-10591 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 2.2.0 > Reporter: Hari Shreedharan > Assignee: Colin Patrick McCabe > Fix For: 2.6.0 > > Attachments: HADOOP-10591.001.patch, HADOOP-10591.002.patch > > > Currently direct buffers allocated by compression codecs like Gzip (which > allocates 2 direct buffers per instance) are not deallocated when the stream > is closed. Eventually for long running processes which create a huge number > of files, these direct buffers are left hanging till a full gc, which may or > may not happen in a reasonable amount of time - especially if the process > does not use a whole lot of heap. > Either these buffers should be pooled or they should be deallocated when the > stream is closed. -- This message was sent by Atlassian JIRA (v6.2#6252)