hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen He (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HADOOP-10689) InputStream is not closed in AzureNativeFileSystemStore#retrieve()
Date Sun, 15 Jun 2014 20:23:01 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-10689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chen He reassigned HADOOP-10689:
--------------------------------

    Assignee: Chen He

> 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
>
> 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)

Mime
View raw message