[ https://issues.apache.org/jira/browse/HDFS-15520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17175871#comment-17175871 ]
Stephen O'Donnell commented on HDFS-15520: ------------------------------------------ [~szetszwo] This change seems to have introduced a two new find bugs warnings: https://github.com/apache/hadoop/pull/2203#issuecomment-671841846 Could you check and resolve them please? > 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 > Fix For: 3.4.0 > > > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org