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

File handle leak in datanode when a block pool is removed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta
    • Component/s: datanode
    • Labels:
      None

      Description

      HDFS-4274 fixed a file handle leak of the block scanner's verification logs by adding method BlockPoolSliceScanner#shutdown and guaranteeing that the method gets called for each live BlockPoolSliceScanner during datanode shutdown. However, that patch did not consider the case of deleting a block pool via ClientDatanodeProtocol#deleteBlockPool while the datanode remains running.

        Attachments

        1. HDFS-4768.1.patch
          0.9 kB
          Chris Nauroth

          Issue Links

            Activity

              People

              • Assignee:
                cnauroth Chris Nauroth
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: