Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5009

DataNode#shutdown sometimes leaves data block scanner verification log unclosed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.17.0
    • 0.19.1
    • None
    • None
    • Reviewed

    Description

      When datanode gets shutdown by calling DataNode#shutdown, it occasionally leaves the data block scanner verification log unclosed. There are two possible causes:
      1. DataNode does not wait until block scanner thread to exit.
      2. DataBlockScanner does not guarantee that the verification log is closed if the scanner is interrupted.

      Attachments

        1. blockScannerFd.patch
          2 kB
          Hairong Kuang
        2. blockScannerFd1.patch
          2 kB
          Hairong Kuang

        Activity

          People

            hairong Hairong Kuang
            hairong Hairong Kuang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: