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, setReplication
compareTo, computeAndConvertContentSummary, computeContentSummary, equals, getAccessTime, getFsPermission, getFsPermissionShort, getFullPathName, getGroupName, getModificationTime, getPermissionStatus, getUserName, hashCode, isLink, setGroup, setPermissionStatus, setUser, toString
public boolean isUnderConstruction()
isUnderConstruction
in class INode
public BlockInfoUnderConstruction setLastBlock(BlockInfo lastBlock, org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor[] targets) throws IOException
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.