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

HDFS quota update is wrong when file is appended

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • namenode
    • None
    • Reviewed

    Description

      when a file in the directory with Quota feature is appended, the cached disk consumption should be updated.
      But currently, the update is wrong.
      Use the uploaded UT to reproduce this bug.

      Attachments

        1. TestHDFSQuota.java
          5 kB
          George Wong
        2. HDFS-6535.patch
          6 kB
          George Wong
        3. HDFS-6535_v1.patch
          6 kB
          George Wong

        Issue Links

        Activity

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

          People

            GWong George Wong Assign to me
            GWong George Wong
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment