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

Not to use INode.getParent() when generating snapshot diff report

    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

      With rename, an inode may have multiple access paths, i.e. multiple parents. In such case, INode.getParent() returns the parent in the current state but not the parents in the snapshots. Therefore, we cannot use INode.getParent() to generate snapshot diff report.

        Attachments

        1. HDFS-4612.001.patch
          11 kB
          Jing Zhao

          Activity

            People

            • Assignee:
              jingzhao Jing Zhao
              Reporter:
              szetszwo Tsz-wo Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: