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

Chris Nauroth updated HADOOP-10689:
-----------------------------------

          Component/s: tools
     Target Version/s: 3.0.0, 2.5.0  (was: 0.23.11, 2.5.0)
    Affects Version/s: 3.0.0
         Hadoop Flags: Reviewed

+1 for the patch.  I plan to commit this later today.

> 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
>          Components: tools
>    Affects Versions: 3.0.0
>            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)

Reply via email to