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] [Created] (SLIDER-1247) Unreleased resource streams
Gour Saha created SLIDER-1247:
---------------------------------
Summary: 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
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)