org.apache.hadoop.hdfs.server.namenode.visitor (Apache Hadoop Main 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.namenode.visitor

# Package org.apache.hadoop.hdfs.server.namenode.visitor

package org.apache.hadoop.hdfs.server.namenode.visitor

Use the visitor pattern to visit namespace tree.

- Related Packages
  Package
  Description
  org.apache.hadoop.hdfs.server.namenode
  org.apache.hadoop.hdfs.server.namenode.fgl
  Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
  org.apache.hadoop.hdfs.server.namenode.ha
  org.apache.hadoop.hdfs.server.namenode.metrics
  org.apache.hadoop.hdfs.server.namenode.snapshot
  org.apache.hadoop.hdfs.server.namenode.top
- Class
  Description
  org.apache.hadoop.hdfs.server.namenode.visitor.INodeCountVisitor
  For validating `FSImage`s.
  org.apache.hadoop.hdfs.server.namenode.visitor.INodeCountVisitor.Counts
  org.apache.hadoop.hdfs.server.namenode.visitor.NamespacePrintVisitor
  To print the namespace tree recursively for testing. \- foo (INodeDirectory@33dd2717) \- sub1 (INodeDirectory@442172) +- file1 (INodeFile@78392d4) +- file2 (INodeFile@78392d5) +- sub11 (INodeDirectory@8400cff) \- file3 (INodeFile@78392d6) \- z_file4 (INodeFile@45848712)
  org.apache.hadoop.hdfs.server.namenode.visitor.NamespaceVisitor
  For visiting namespace trees.
  org.apache.hadoop.hdfs.server.namenode.visitor.NamespaceVisitor.Element
  Snapshot and INode.
  org.apache.hadoop.hdfs.server.namenode.visitor.NamespaceVisitor.INodeVisitor
  For visiting any `INode`.