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

Metrics PendingDeletionBlocks is not decremented

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sureshms Suresh Srinivas Assign to me
            sureshms Suresh Srinivas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment