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/10/23 23:04:34 UTC
[jira] [Commented] (HADOOP-10690) Lack of synchronization on access
to InputStream in NativeAzureFileSystem#NativeAzureFsInputStream#close()
[ https://issues.apache.org/jira/browse/HADOOP-10690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181960#comment-14181960 ]
Chen He commented on HADOOP-10690:
----------------------------------
Hi [~cnauroth], do we need to mark this ticket as closed since it is checked in?
> 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
> Fix For: 3.0.0
>
> 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.3.4#6332)