Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10690

Lack of synchronization on access to InputStream in NativeAzureFileSystem#NativeAzureFsInputStream#close()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0
    • tools
    • None
    • Reviewed

    Description

          public void close() throws IOException {
            in.close();
          }
      

      The close() method should be protected by synchronized keyword.

      Attachments

        1. HADOOP-10690.patch
          0.7 kB
          Chen He

        Issue Links

          Activity

            People

              airbots Chen He
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: