Uses of Class
org.apache.hadoop.hdfs.server.namenode.INodeFile
Packages that use INodeFile
Package
Description
Use the visitor pattern to visit namespace tree.
-
Uses of INodeFile in org.apache.hadoop.hdfs.server.namenode
Methods in org.apache.hadoop.hdfs.server.namenode that return INodeFileModifier and TypeMethodDescriptionINode.asFile()Cast this inode to anINodeFile.final INodeFileINodeFile.asFile()final INodeFileINodeReference.asFile()FSNamesystem.getBlockCollection(long id) INodeFile.loadSnapshotFeature(FileDiffList diffs) Used by FSImage.final INodeFileINodeFile.setFileReplication(short replication, int latestSnapshotId) Set the replication factor of this file.static INodeFileThe same as valueOf(inode, path, false).static INodeFileCast INode to INodeFile.Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type INodeFileModifier and TypeMethodDescriptionorg.apache.hadoop.hdfs.server.namenode.LeaseManager.LeasevoidFSEditLog.logAddBlock(String path, INodeFile file) voidFSEditLog.logAppendFile(String path, INodeFile file, boolean newBlock, boolean toLogRpcIds) voidFSEditLog.logCloseFile(String path, INodeFile newNode) Add close lease record to edit log.voidFSEditLog.logOpenFile(String path, INodeFile newNode, boolean overwrite, boolean toLogRpcIds) Add open lease record to edit log.voidFSEditLog.logUpdateBlocks(String path, INodeFile file, boolean toLogRpcIds) voidFSImageFormat.Loader.updateBlocksMap(INodeFile file) static voidFSImageFormatPBINode.Loader.updateBlocksMap(INodeFile file, BlockManager bm) static voidFSImageSerialization.writeINodeFile(INodeFile file, DataOutput out, boolean writeUnderConstruction) Serialize aINodeFilenodeConstructors in org.apache.hadoop.hdfs.server.namenode with parameters of type INodeFile -
Uses of INodeFile in org.apache.hadoop.hdfs.server.namenode.snapshot
Methods in org.apache.hadoop.hdfs.server.namenode.snapshot with parameters of type INodeFileModifier and TypeMethodDescriptionvoidFileWithSnapshotFeature.cleanFile(INode.ReclaimContext reclaimContext, INodeFile file, int snapshotId, int priorSnapshotId, byte storagePolicyId) voidFileWithSnapshotFeature.collectBlocksAndClear(INode.ReclaimContext reclaimContext, INodeFile file) If some blocks at the end of the block list no longer belongs to any inode, collect them and update the block list.static voidSnapshotFSImageFormat.saveFileDiffList(INodeFile file, DataOutput out) voidFileDiffList.saveSelf2Snapshot(int latestSnapshotId, INodeFile iNodeFile, INodeFileAttributes snapshotCopy, boolean withBlocks) voidFileWithSnapshotFeature.updateQuotaAndCollectBlocks(INode.ReclaimContext reclaimContext, INodeFile file, FileDiff removed) -
Uses of INodeFile in org.apache.hadoop.hdfs.server.namenode.visitor
Methods in org.apache.hadoop.hdfs.server.namenode.visitor with parameters of type INodeFile