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

DataNode#shutdown sometimes leaves data block scanner verification log unclosed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.17.0
    • Fix Version/s: 0.19.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: