You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Gour Saha (JIRA)" <ji...@apache.org> on 2017/09/07 15:54:00 UTC
[jira] [Assigned] (SLIDER-1247) Unreleased resource streams
[ https://issues.apache.org/jira/browse/SLIDER-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gour Saha reassigned SLIDER-1247:
---------------------------------
Assignee: Gour Saha
> 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
>
>
> 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)