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

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Snapshot (HDFS-2802)
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      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
          42 kB
          Jing Zhao
        2. HDFS-4686.001.patch
          65 kB
          Jing Zhao
        3. HDFS-4686.002.patch
          55 kB
          Jing Zhao
        4. HDFS-4686.003.patch
          60 kB
          Jing Zhao

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: