Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2802 Support for RW/RO snapshots in HDFS
  3. HDFS-4749

Use INodeId to identify the corresponding directory node for FSImage saving/loading

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Snapshot (HDFS-2802)
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently in fsimage, we use the path to locate a directory node for later loading, i.e., when loading a subtree from fsimage, we first read the path of the directory node, and resolve the path to identify the directory node. This brings extra complexity since we need to generate path for directory nodes in both the current tree and snapshot copies.

      As a simplification, we can use INodeId to identify the directory node.

        Activity

        Tsz Wo Nicholas Sze made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s Snapshot (HDFS-2802) [ 12323386 ]
        Resolution Fixed [ 1 ]
        Tsz Wo Nicholas Sze made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Component/s datanode [ 12312927 ]
        Jing Zhao made changes -
        Attachment HDFS-4749.000.patch [ 12580430 ]
        Jing Zhao made changes -
        Field Original Value New Value
        Component/s datanode [ 12312927 ]
        Component/s namenode [ 12312926 ]
        Jing Zhao created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development