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

InputStream is not closed in AzureNativeFileSystemStore#retrieve()

    XMLWordPrintableJSON

Details

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

    Description

      In the catch block:

              if(in != null){
                inDataStream.close();
              }
      

      We check against in but try to close inDataStream which should have been closed by the if statement above.

      Attachments

        1. HADOOP-10689.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:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: