[ https://issues.apache.org/jira/browse/PIG-4496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Slawski updated PIG-4496: ------------------------------- Description: CBZip2InputStream doesn't close the underlying FSDataInputStream when itself is closed. However, users such as BZip2LineRecordReader and XMLLoader assume CBZip2InputStream will do so. This leads to leaking resources and possible failure in reading the next split depending on the FileSystem implementation. (was: CBZip2InputStream doesn't close the underlying FSDataInputStream when itself is closed. Users such as BZip2LineRecordReader assume CBZip2InputStream will do so. This leads to leaking resources and possible failure in reading the next split depending on the FileSystem implementation.) > Fix CBZip2InputStream to close underlying stream > ------------------------------------------------ > > Key: PIG-4496 > URL: https://issues.apache.org/jira/browse/PIG-4496 > Project: Pig > Issue Type: Bug > Components: tools > Affects Versions: 0.12.0, 0.15.0 > Reporter: Peter Slawski > > CBZip2InputStream doesn't close the underlying FSDataInputStream when itself > is closed. However, users such as BZip2LineRecordReader and XMLLoader assume > CBZip2InputStream will do so. This leads to leaking resources and possible > failure in reading the next split depending on the FileSystem implementation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)