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

Metrics PendingDeletionBlocks is not decremented

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.20.2, 0.21.0, 0.22.0
    • 0.20.2, 0.21.0
    • namenode
    • None
    • Reviewed
    • Correct PendingDeletionBlocks metric to properly decrement counts.

    Description

      PendingDeletionBlocks is not decremented decremented when blocks pending deletion in BlockManager.recentInvalidateSets are sent to datanode for deletion. This results in invalid value in the metrics.

      Attachments

        1. hdfs-781.rel20.patch
          7 kB
          Suresh Srinivas
        2. hdfs-781.rel20.1.patch
          7 kB
          Suresh Srinivas
        3. hdfs-781.patch
          4 kB
          Suresh Srinivas
        4. hdfs-781.4.patch
          7 kB
          Suresh Srinivas
        5. hdfs-781.3.patch
          7 kB
          Suresh Srinivas
        6. hdfs-781.2.patch
          4 kB
          Suresh Srinivas
        7. hdfs-781.1.patch
          4 kB
          Suresh Srinivas

        Activity

          People

            sureshms Suresh Srinivas
            sureshms Suresh Srinivas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: