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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Snapshot (HDFS-2802)
    • namenode
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: