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

FileSystem.CACHE should be ref-counted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.18.1, 0.18.2, 0.19.0, 0.19.1, 0.20.0
    • Fix Version/s: 0.21.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change
    • Release Note:
      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. FileSystemUnique2.txt
          15 kB
          dhruba borthakur
        2. FileSystemUnique.txt
          15 kB
          dhruba borthakur
        3. FileSystemUnique.patch
          4 kB
          dhruba borthakur

          Issue Links

            Activity

              People

              • Assignee:
                dhruba dhruba borthakur
                Reporter:
                hong.tang Hong Tang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: