[
https://issues.apache.org/jira/browse/HADOOP-10690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated HADOOP-10690:
-----------------------------------
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.
> Lack of synchronization on access to InputStream in
> NativeAzureFileSystem#NativeAzureFsInputStream#close()
> ----------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-10690
> URL: https://issues.apache.org/jira/browse/HADOOP-10690
> Project: Hadoop Common
> Issue Type: Bug
> Components: tools
> Affects Versions: 3.0.0
> Reporter: Ted Yu
> Assignee: Chen He
> Priority: Minor
> Attachments: HADOOP-10690.patch
>
>
> {code}
> public void close() throws IOException {
> in.close();
> }
> {code}
> The close() method should be protected by synchronized keyword.
--
This message was sent by Atlassian JIRA
(v6.2#6252)