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

Storage type usage isn't updated properly after file deletion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      For a directory that doesn't have any storage policy defined, its storage quota usage is deducted when a file is deleted (addBlock skips storage quota usage update in such case). This means negative value for storage quota usage. Later after applications set the storage policy and storage type quota, it allows the applications to use more than its storage type quota.

      Attachments

        1. HDFS-9360-2.patch
          5 kB
          Ming Ma
        2. HDFS-9360.patch
          3 kB
          Ming Ma

        Activity

          People

            mingma Ming Ma
            mingma Ming Ma
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: