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

FileSystem.CACHE should be ref-counted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.18.1, 0.18.2, 0.19.0, 0.19.1, 0.20.0
    • 0.21.0
    • fs
    • None
    • Incompatible change
    • Every invocation of FileSystem.newInstance() returns a newly allocated FileSystem object. This may be an incompatible change for applications that relied on FileSystem object identity.

    Description

      FileSystem.CACHE is not ref-counted, and could lead to resource leakage.

      Attachments

        1. FileSystemUnique.patch
          4 kB
          Dhruba Borthakur
        2. FileSystemUnique.txt
          15 kB
          Dhruba Borthakur
        3. FileSystemUnique2.txt
          15 kB
          Dhruba Borthakur

        Issue Links

          Activity

            People

              dhruba Dhruba Borthakur
              hong.tang Hong Tang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: