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

DatanodeDescriptor block iterator should be BlockInfo based rather than Block.

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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0
    • 0.21.0
    • namenode
    • None
    • Reviewed

    Description

      DatanodeDescriptor.BlockIterator currently implements Iterator<Block>. I need to change it to implement Iterator<BlockInfo> instead. Otherwise, I cannot filter out blocks under construction in order to exclude them from balancing, as Hairong suggested in HDFS-517.

      Attachments

        Issue Links

        Activity

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

          People

            shv Konstantin Shvachko Assign to me
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment