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

Delayed rolling upgrade finalization can cause heartbeat expiration and write failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.8.0, 2.7.2, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      In big busy clusters where the deletion rate is also high, a lot of blocks can pile up in the datanode trash directories until an upgrade is finalized. When it is finally finalized, the deletion of trash is done in the service actor thread's context synchronously. This blocks the heartbeat and can cause heartbeat expiration.

      We have seen a namenode losing hundreds of nodes after a delayed upgrade finalization. The deletion of trash directories should be made asynchronous.

      Attachments

        1. HDFS-8676.01.patch
          3 kB
          Walter Su
        2. HDFS-8676.02.patch
          3 kB
          Walter Su

        Issue Links

          Activity

            People

              walter.k.su Walter Su
              kihwal Kihwal Lee
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: