You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chen He (JIRA)" <ji...@apache.org> on 2014/06/15 22:33:01 UTC
[jira] [Updated] (HADOOP-10689) InputStream is not closed in
AzureNativeFileSystemStore#retrieve()
[ https://issues.apache.org/jira/browse/HADOOP-10689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chen He updated HADOOP-10689:
-----------------------------
Target Version/s: 0.23.11, 2.5.0
Status: Patch Available (was: Open)
> InputStream is not closed in AzureNativeFileSystemStore#retrieve()
> ------------------------------------------------------------------
>
> Key: HADOOP-10689
> URL: https://issues.apache.org/jira/browse/HADOOP-10689
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Chen He
> Priority: Minor
> Attachments: HADOOP-10689.patch
>
>
> In the catch block:
> {code}
> if(in != null){
> inDataStream.close();
> }
> {code}
> We check against in but try to close inDataStream which should have been closed by the if statement above.
--
This message was sent by Atlassian JIRA
(v6.2#6252)