hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-10690) Lack of synchronization on access to InputStream in NativeAzureFileSystem#NativeAzureFsInputStream#close()
Date Thu, 12 Jun 2014 21:57:02 GMT
Ted Yu created HADOOP-10690:
-------------------------------

             Summary: 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
            Reporter: Ted Yu
            Priority: Minor


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

Mime
View raw message