Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15520

Use visitor pattern to visit namespace tree

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0
    • namenode
    • None

    Description

      In order to allow the FsImageValidation tool to verify the namespace structure, we use a visitor pattern so that the tool can visit all the INodes and all the snapshots in the namespace tree.

      The existing INode.dumpTreeRecursively() can also be implemented by a visitor.

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: