You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Sunil G (JIRA)" <ji...@apache.org> on 2015/05/08 10:59:01 UTC
[jira] [Updated] (MAPREDUCE-2631) Potential resource leaks in
BinaryProtocol$TeeOutputStream.java
[ https://issues.apache.org/jira/browse/MAPREDUCE-2631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sunil G updated MAPREDUCE-2631:
-------------------------------
Summary: Potential resource leaks in BinaryProtocol$TeeOutputStream.java (was: Potential resource leaks in BinaryProtocol$TeeOutputStream.java and TaskLogServlet.java)
> Potential resource leaks in BinaryProtocol$TeeOutputStream.java
> ---------------------------------------------------------------
>
> Key: MAPREDUCE-2631
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2631
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: jobtracker
> Affects Versions: 0.23.0
> Reporter: Ravi Teja Ch N V
> Assignee: Sunil G
> Labels: BB2015-05-RFC
> Attachments: 0001-MAPREDUCE-2631.patch, MAPREDUCE-2631.1.patch, MAPREDUCE-2631.2.patch, MAPREDUCE-2631.3.patch, MAPREDUCE-2631.patch
>
>
> {code:title=BinaryProtocol$TeeOutputStream.java|borderStyle=solid}
> public void close() throws IOException {
> flush();
> file.close();
> out.close();
> }
> {code}
> In the above code, if the file.close() throws any exception out will not be closed.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)