Uses of Class
org.apache.hadoop.hdfs.server.namenode.INodesInPath
Packages that use INodesInPath
Package
Description
A distributed implementation of
FileSystem.-
Uses of INodesInPath in org.apache.hadoop.hdfs
Methods in org.apache.hadoop.hdfs with parameters of type INodesInPathModifier and TypeMethodDescriptionstatic voidDFSUtil.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 INodesInPathModifier and TypeMethodDescriptionbooleanBlockManager.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 INodesInPathModifier and TypeMethodDescriptionFSDirectory.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 INodesInPathINodesInPath.append(INodesInPath iip, INode child, byte[] childName) Extend a given INodesInPath with a child INode.INodesInPath.getExistingINodes()FSDirectory.getINodesInPath(byte[][] components, FSDirectory.DirOp dirOp) FSDirectory.getINodesInPath(String src, FSDirectory.DirOp dirOp) Resolves the given path into inodes.INodesInPath.getParentINodesInPath()static INodesInPathINodesInPath.replace(INodesInPath iip, int pos, INode inode) Replace an inode of the given INodesInPath in the given position.FSDirectory.resolvePath(FSPermissionChecker pc, String src, FSDirectory.DirOp dirOp) Resolves a given path into an 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 INodesInPathModifier and TypeMethodDescriptionLeaseManager.getINodeWithLeases(INodeDirectory ancestorDir) GetINodesInPathfor all files under the ancestor directory which has valid lease.Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type INodesInPathModifier and TypeMethodDescriptionFSDirectory.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 INodesInPathINodesInPath.append(INodesInPath iip, INode child, byte[] childName) Extend a given INodesInPath with a child INode.booleanFSDirectory.isNonEmptyDirectory(INodesInPath inodesInPath) longFSDirectory.removeLastINode(INodesInPath iip) Remove the last inode in the path from the namespace.static INodesInPathINodesInPath.replace(INodesInPath iip, int pos, INode inode) Replace an inode of the given INodesInPath in the given position.static INodeFSDirXAttrOp.unprotectedSetXAttrs(FSDirectory fsd, INodesInPath iip, List<org.apache.hadoop.fs.XAttr> xAttrs, EnumSet<org.apache.hadoop.fs.XAttrSetFlag> flag) voidFSDirectory.updateCount(INodesInPath iip, INode.QuotaDelta quotaDelta, boolean check) voidFSDirectory.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 INodesInPathModifier and TypeMethodDescriptionvoidSnapshotManager.assertMarkedAsDeleted(INodesInPath iip, String snapshotName) SnapshotManager.checkAndGetSnapshottableAncestorDir(INodesInPath iip) Get the snapshot root directory for the given directory.SnapshotManager.createSnapshot(LeaseManager leaseManager, INodesInPath iip, String snapshotRoot, String snapshotName, long mtime) Create a snapshot of the given path.voidSnapshotManager.deleteSnapshot(INodesInPath iip, String snapshotName, INode.ReclaimContext reclaimContext, long now) Delete a snapshot for a snapshottable directoryorg.apache.hadoop.hdfs.protocol.SnapshotDiffReportSnapshotManager.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.SnapshotDiffReportListingSnapshotManager.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.SnapshotManager.getSnapshottableAncestorDir(INodesInPath iip) SnapshotManager.getSnapshottableRoot(INodesInPath iip) Find the source root directory where the snapshot will be taken for a given path.voidSnapshotManager.renameSnapshot(INodesInPath iip, String snapshotRoot, String oldSnapshotName, String newSnapshotName, long now) Rename the given snapshot