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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.4-alpha, 3.0.0-alpha1
    • 2.1.0-beta
    • datanode
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: