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

FSDirectory.removeBlock() should update diskspace count of the block owner node

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.20.1, 0.20.2, 0.21.0
    • 0.22.0
    • namenode
    • None
    • Reviewed

    Description

      This bug leads a quota computation error. When calling abandonBlock(), the cached diskspace count of INodeDirectoryWithQuota is larger than the actual consumed space value.

      Attachments

        1. hdfs-1487-1.patch
          3 kB
          Eli Collins
        2. HDFS-1487.patch
          4 kB
          Zhong Wang
        3. HDFS-1487.patch
          1 kB
          Zhong Wang

        Issue Links

        Activity

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

          People

            zhong Zhong Wang
            zhong Zhong Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment