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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.1, 0.20.2, 0.21.0
    • Fix Version/s: 0.22.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: