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

NameNode should process time out excess redundancy blocks

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Currently found that DN will lose all pending DNA_INVALIDATE blocks if it restarts.

      Root case
      Current DN enables asynchronously deletion, it have many pending deletion blocks in memory.
      when DN restarts, these cached blocks may be lost. it causes some blocks in the excess map in the namenode to be leaked and this will result in many blocks having more replicas then expected.

      solution
      NameNode add logic to handle excess redundant block timeouts to resolve current issue.
      If NN determines that the excess redundancy block in DN has timed out and re-adds it to Invalidates.

      Attachments

        1. image-2023-10-12-15-52-52-336.png
          133 kB
          Shuyan Zhang

        Activity

          People

            haiyang Hu Haiyang Hu
            haiyang Hu Haiyang Hu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: