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

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

    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.patch
          1 kB
          Zhong Wang
        2. HDFS-1487.patch
          4 kB
          Zhong Wang
        3. hdfs-1487-1.patch
          3 kB
          Eli Collins

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: