[
https://issues.apache.org/jira/browse/HDFS-15520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated HDFS-15520:
------------------------------
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.
was: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.
> Use visitor pattern to visit namespace tree
> -------------------------------------------
>
> Key: HDFS-15520
> URL: https://issues.apache.org/jira/browse/HDFS-15520
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]