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

DN heartbeat thread can get stuck in tight loop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.4.0
    • datanode
    • None
    • Reviewed

    Description

      We saw an issue recently on a test cluster where one of the DN threads was consuming 100% of a single CPU. Running jstack indicated that it was the DN heartbeat thread. I believe I've tracked down the cause to a bug in the accounting around the value of pendingReceivedRequests.

      More details in the first comment.

      Attachments

        1. HDFS-5922.02.patch
          12 kB
          Arpit Agarwal
        2. HDFS-5922.01.patch
          3 kB
          Arpit Agarwal

        Activity

          People

            arp Arpit Agarwal
            atm Aaron Myers
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: