[ https://issues.apache.org/jira/browse/SLIDER-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161972#comment-16161972 ]
ASF subversion and git services commented on SLIDER-1247: --------------------------------------------------------- Commit 7992f422b2ca1c6f9a055c809fcf346ed8433216 in incubator-slider's branch refs/heads/develop from [~gsaha] [ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=7992f42 ] SLIDER-1247 Unreleased resource streams > Unreleased resource streams > --------------------------- > > Key: SLIDER-1247 > URL: https://issues.apache.org/jira/browse/SLIDER-1247 > Project: Slider > Issue Type: Bug > Components: agent-provider > Affects Versions: Slider 0.92 > Reporter: Gour Saha > Assignee: Gour Saha > Fix For: Slider 1.0.0 > > Attachments: SLIDER-1247.01.patch > > > The function expandTar() in AgentClientProvider.java will sometimes fail to > release a system resource allocated by FileInputStream() and its chain of > wrapper streams as shown below - > {code} > TarArchiveInputStream tarIn = new TarArchiveInputStream( > new GzipCompressorInputStream( > new BufferedInputStream( > new FileInputStream(tarFile) > ) > ) > ); > {code} > Similar issues are seen in AgentClientProvider.java in few other places. -- This message was sent by Atlassian JIRA (v6.4.14#64029)