Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-422

fuse-dfs leaks FileSystem handles as it never disconnects them because the FileSystem.Cache does not do reference counting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • fuse-dfs
    • None

    Description

      since users may be doing multiple file operations at the same time, a single task in fuse, can never call close() on a filesystem (ie libhdfs::hdfsDisconnect) because there may be another thread for the same user.

      as such, either fuse-dfs needs to do reference counting or FileSystem.Cache needs to or maybe enable a mode where one can turn off the Cache??

      I currently am not seeing any problems in production, but I am still running 0.18 version which keeps only one connection as root.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wyckoff Pete Wyckoff
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: