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

LeaseRenewer can hold reference to inactive DFSClient instances forever

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.23.3, 2.0.0-alpha
    • 0.23.3, 2.0.2-alpha
    • hdfs-client
    • None

    Description

      If LeaseRenewer#closeClient() is not called, LeaseRenewer keeps the reference to a DFSClient instance in dfsclients forever. This prevents DFSClient, LeaseRenewer, conf, etc. from being garbage collected, leading to memory leak.

      LeaseRenewer should remove the reference after some delay, if a DFSClient instance no longer has active streams.

      Attachments

        1. hdfs-3646.patch
          11 kB
          Kihwal Lee
        2. hdfs-3646.patch.txt
          20 kB
          Kihwal Lee
        3. hdfs-3646.patch.txt
          20 kB
          Kihwal Lee
        4. hdfs-3646-branch-23.patch.txt
          21 kB
          Kihwal Lee
        5. hdfs-3646-branch-23.patch.txt
          20 kB
          Kihwal Lee

        Activity

          People

            kihwal Kihwal Lee
            kihwal Kihwal Lee
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: