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

Datanode heartbeats can get blocked by disk in FsDatasetImpl#checkBlock()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.7.2
    • None
    • datanode
    • None

    Description

      When a data node needs to transfer a block, it validates the block in the heartbeat thread invoking the checkBlock() method of FsDatasetImpl, where it checks whether the block exists and gets the block length. If the block is valid, it then spins off a thread to do the actual block transfer. We found that during heavy disk IO the heartbeat thread hangs on replicaInfo.getBlockFile().exists() for more than 10 minutes.

      Attachments

        Issue Links

          Activity

            People

              hualiu Hua Liu
              elgoiri Íñigo Goiri
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: