Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-652

Not all Datastructures are updated when a block is deleted

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • None
    • None

    Description

      Currently when a block is deleted, DataNode just deletes the physical file and updates its map. We need to update more things. For e.g. numBlocks in FSDir is not decremented.. effect of this would be that we will create more subdirectories than necessary. It might not show up badly yet since numBlocks gets correct value when the dataNode restarts. I have to see what else needs to be updated.

      Attachments

        1. FSDataset.java.patch
          2 kB
          Vladimir Krokhmalyov
        2. FSDataset.java.patch
          2 kB
          Vladimir Krokhmalyov
        3. FSDataset.java.patch
          1 kB
          Vladimir Krokhmalyov

        Activity

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

          People

            Unassigned Unassigned
            rangadi Raghu Angadi
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment