Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2802 Support for RW/RO snapshots in HDFS
  3. HDFS-4686

Fix quota computation for rename with snapshots

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Snapshot (HDFS-2802)
    • namenode
    • None
    • Reviewed

    Description

      Currently after a rename operation within/from a snapshottable directory, a reference node is created in both src and dst subtree, pointing to the original renamed inode. With this change the original quota computation may count the quota usage of the renamed subtree multiple times. This jira tries to fix this issue.

      Attachments

        1. HDFS-4686.001.patch
          65 kB
          Jing Zhao
        2. HDFS-4686.001.patch
          42 kB
          Jing Zhao
        3. HDFS-4686.002.patch
          55 kB
          Jing Zhao
        4. HDFS-4686.003.patch
          60 kB
          Jing Zhao

        Activity

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

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment