Uses of Class org.apache.hadoop.hdfs.server.namenode.INodesInPath (Apache Hadoop HDFS 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs.server.namenode, class: INodesInPath

# Uses of Class
org.apache.hadoop.hdfs.server.namenode.INodesInPath

Packages that use INodesInPath
Package
Description
org.apache.hadoop.hdfs
A distributed implementation of `FileSystem`.
org.apache.hadoop.hdfs.server.blockmanagement
org.apache.hadoop.hdfs.server.namenode
org.apache.hadoop.hdfs.server.namenode.snapshot

- ## Uses of INodesInPath in org.apache.hadoop.hdfs

  Methods in org.apache.hadoop.hdfs with parameters of type INodesInPath
  Modifier and Type
  Method
  Description
  `static void`
  DFSUtil.`checkProtectedDescendants(FSDirectory fsd, INodesInPath iip)`
  Throw if the given directory has any non-empty protected descendants (including itself).

- ## Uses of INodesInPath in org.apache.hadoop.hdfs.server.blockmanagement

  Methods in org.apache.hadoop.hdfs.server.blockmanagement with parameters of type INodesInPath
  Modifier and Type
  Method
  Description
  `boolean`
  BlockManager.`commitOrCompleteLastBlock(BlockCollection bc, org.apache.hadoop.hdfs.protocol.Block commitBlock, INodesInPath iip)`
  Commit the last block of the file and mark it as complete if it has meets the minimum redundancy requirement

- ## Uses of INodesInPath in org.apache.hadoop.hdfs.server.namenode

  Methods in org.apache.hadoop.hdfs.server.namenode that return INodesInPath
  Modifier and Type
  Method
  Description
  `INodesInPath`
  FSDirectory.`addLastINode(INodesInPath existing, INode inode, org.apache.hadoop.fs.permission.FsPermission modes, boolean checkQuota, Optional<QuotaCounts> quotaCount)`
  Add a child to the end of the path specified by INodesInPath.
  `static INodesInPath`
  INodesInPath.`append(INodesInPath iip, INode child, byte[] childName)`
  Extend a given INodesInPath with a child INode.
  `INodesInPath`
  INodesInPath.`getExistingINodes()`
  `INodesInPath`
  FSDirectory.`getINodesInPath(byte[][] components, FSDirectory.DirOp dirOp)`
  `INodesInPath`
  FSDirectory.`getINodesInPath(String src, FSDirectory.DirOp dirOp)`
  Resolves the given path into inodes.
  `INodesInPath`
  INodesInPath.`getParentINodesInPath()`
  `static INodesInPath`
  INodesInPath.`replace(INodesInPath iip, int pos, INode inode)`
  Replace an inode of the given INodesInPath in the given position.
  `INodesInPath`
  FSDirectory.`resolvePath(FSPermissionChecker pc, String src, FSDirectory.DirOp dirOp)`
  Resolves a given path into an INodesInPath.
  `INodesInPath`
  FSDirectory.`unprotectedResolvePath(String src)`
  This method should only be used from internal paths and not those provided directly by a user.
  Methods in org.apache.hadoop.hdfs.server.namenode that return types with arguments of type INodesInPath
  Modifier and Type
  Method
  Description
  `Set<INodesInPath>`
  LeaseManager.`getINodeWithLeases(INodeDirectory ancestorDir)`
  Get `INodesInPath` for all files under the ancestor directory which has valid lease.
  Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type INodesInPath
  Modifier and Type
  Method
  Description
  `INodesInPath`
  FSDirectory.`addLastINode(INodesInPath existing, INode inode, org.apache.hadoop.fs.permission.FsPermission modes, boolean checkQuota, Optional<QuotaCounts> quotaCount)`
  Add a child to the end of the path specified by INodesInPath.
  `static INodesInPath`
  INodesInPath.`append(INodesInPath iip, INode child, byte[] childName)`
  Extend a given INodesInPath with a child INode.
  `boolean`
  FSDirectory.`isNonEmptyDirectory(INodesInPath inodesInPath)`
  `long`
  FSDirectory.`removeLastINode(INodesInPath iip)`
  Remove the last inode in the path from the namespace.
  `static INodesInPath`
  INodesInPath.`replace(INodesInPath iip, int pos, INode inode)`
  Replace an inode of the given INodesInPath in the given position.
  `static INode`
  FSDirXAttrOp.`unprotectedSetXAttrs(FSDirectory fsd, INodesInPath iip, List<org.apache.hadoop.fs.XAttr> xAttrs, EnumSet<org.apache.hadoop.fs.XAttrSetFlag> flag)`
  `void`
  FSDirectory.`updateCount(INodesInPath iip, INode.QuotaDelta quotaDelta, boolean check)`
  `void`
  FSDirectory.`updateSpaceForCompleteBlock(BlockInfo completeBlk, INodesInPath inodes)`
  Update the cached quota space for a block that is being completed.

- ## Uses of INodesInPath in org.apache.hadoop.hdfs.server.namenode.snapshot

  Methods in org.apache.hadoop.hdfs.server.namenode.snapshot with parameters of type INodesInPath
  Modifier and Type
  Method
  Description
  `void`
  SnapshotManager.`assertMarkedAsDeleted(INodesInPath iip, String snapshotName)`
  `INodeDirectory`
  SnapshotManager.`checkAndGetSnapshottableAncestorDir(INodesInPath iip)`
  Get the snapshot root directory for the given directory.
  `String`
  SnapshotManager.`createSnapshot(LeaseManager leaseManager, INodesInPath iip, String snapshotRoot, String snapshotName, long mtime)`
  Create a snapshot of the given path.
  `void`
  SnapshotManager.`deleteSnapshot(INodesInPath iip, String snapshotName, INode.ReclaimContext reclaimContext, long now)`
  Delete a snapshot for a snapshottable directory
  `org.apache.hadoop.hdfs.protocol.SnapshotDiffReport`
  SnapshotManager.`diff(INodesInPath iip, String snapshotPath, String from, String to)`
  Compute the difference between two snapshots of a directory, or between a snapshot of the directory and its current tree.
  `org.apache.hadoop.hdfs.protocol.SnapshotDiffReportListing`
  SnapshotManager.`diff(INodesInPath iip, String snapshotPath, String from, String to, byte[] startPath, int index, int snapshotDiffReportLimit)`
  Compute the partial difference between two snapshots of a directory, or between a snapshot of the directory and its current tree.
  `org.apache.hadoop.hdfs.protocol.SnapshotStatus[]`
  SnapshotManager.`getSnapshotListing(INodesInPath iip)`
  List all the snapshots under a snapshottable directory.
  `INodeDirectory`
  SnapshotManager.`getSnapshottableAncestorDir(INodesInPath iip)`
  `INodeDirectory`
  SnapshotManager.`getSnapshottableRoot(INodesInPath iip)`
  Find the source root directory where the snapshot will be taken for a given path.
  `void`
  SnapshotManager.`renameSnapshot(INodesInPath iip, String snapshotRoot, String oldSnapshotName, String newSnapshotName, long now)`
  Rename the given snapshot