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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: tools
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

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

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: