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

FileContext HDFS implementation can leak socket caches

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.3, 2.0.0-alpha, 3.0.0-alpha1
    • Fix Version/s: 0.23.4, 2.0.3-alpha
    • Component/s: hdfs-client
    • Labels:
      None

      Description

      As noted by Nicholas in HDFS-3359, FileContext doesn't have a close() method, and thus never calls DFSClient.close(). This means that, until finalizers run, DFSClient will hold on to its SocketCache object and potentially have a lot of outstanding sockets/fds held on to.

        Attachments

        1. HDFS-3373.trunk.patch.4
          24 kB
          John George
        2. HDFS-3373.trunk.patch.3
          24 kB
          John George
        3. HDFS-3373.trunk.patch.3
          24 kB
          John George
        4. HDFS-3373.trunk.patch.2
          24 kB
          John George
        5. HDFS-3373.trunk.patch.1
          24 kB
          John George
        6. HDFS-3373.trunk.patch
          23 kB
          John George
        7. HDFS-3373.branch-23.patch
          15 kB
          John George
        8. HDFS-3373.branch23.patch
          16 kB
          John George

          Issue Links

            Activity

              People

              • Assignee:
                johnvijoe John George
                Reporter:
                tlipcon Todd Lipcon
              • Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: