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

Add capability to namenode to get snapshot diff

    XMLWordPrintableJSON

Details

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

    Description

      This jira provides internal data structures and computation processes for calculating and representing the diff between two snapshots, or the diff between a snapshot and the current tree.

      Specifically, a new method getSnapshotDiffReport(Path, String, String) is added to FSNamesystem to compute the snapshot diff. The snapshot diff is represented as a SnapshotDiffReport internally. In later jiras we will add support to present the SnapshotDiffReport to end users.

      Attachments

        1. HDFS-4131.006.patch
          29 kB
          Jing Zhao
        2. HDFS-4131.005.patch
          30 kB
          Jing Zhao
        3. HDFS-4131.004.patch
          28 kB
          Jing Zhao
        4. HDFS-4131.003.patch
          27 kB
          Jing Zhao
        5. HDFS-4131.002.patch
          27 kB
          Jing Zhao
        6. HDFS-4131.001.patch
          25 kB
          Jing Zhao

        Issue Links

          Activity

            People

              jingzhao Jing Zhao
              sureshms Suresh Srinivas
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: