public class INodeFileUnderConstruction extends INodeFile
accessTime, modificationTime, name, parent| Modifier and Type | Method and Description |
|---|---|
boolean |
isUnderConstruction()
Is this inode being constructed?
|
BlockInfoUnderConstruction |
setLastBlock(BlockInfo lastBlock,
org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor[] targets)
Convert the last block of the file to an under-construction block.
|
getBlocks, getLastBlock, getPreferredBlockSize, getReplication, isDirectory, numBlocks, setBlock, setPermission, setPreferredBlockSize, setReplicationcompareTo, computeAndConvertContentSummary, computeContentSummary, equals, getAccessTime, getFsPermission, getFsPermissionShort, getFullPathName, getGroupName, getModificationTime, getPermissionStatus, getUserName, hashCode, isLink, setGroup, setPermissionStatus, setUser, toStringpublic boolean isUnderConstruction()
isUnderConstruction in class INodepublic BlockInfoUnderConstruction setLastBlock(BlockInfo lastBlock, org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor[] targets) throws IOException
IOExceptionCopyright © 2013 Apache Software Foundation. All Rights Reserved.