Package | Description |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.snapshot |
Modifier and Type | Class and Description |
---|---|
class |
INodeFileUnderConstruction
I-node for file being written.
|
Modifier and Type | Method and Description |
---|---|
INodeFile |
INodeReference.asFile() |
INodeFile |
INodeFile.asFile() |
INodeFile |
INode.asFile()
Cast this inode to an
INodeFile . |
INodeFile |
INodeFile.recordModification(Snapshot latest,
INodeMap inodeMap) |
INodeFile |
INodeFile.setFileReplication(short replication,
Snapshot latest,
INodeMap inodeMap)
Set the replication factor of this file.
|
protected INodeFile |
INodeFileUnderConstruction.toINodeFile(long mtime)
Converts an INodeFileUnderConstruction to an INodeFile.
|
static INodeFile |
INodeFile.valueOf(INode inode,
String path)
The same as valueOf(inode, path, false).
|
static INodeFile |
INodeFile.valueOf(INode inode,
String path,
boolean acceptNull)
Cast INode to INodeFile.
|
Modifier and Type | Method and Description |
---|---|
void |
FSEditLog.logCloseFile(String path,
INodeFile newNode)
Add close lease record to edit log.
|
static void |
FSImageSerialization.writeINodeFile(INodeFile file,
DataOutput out,
boolean writeUnderConstruction)
Serialize a
INodeFile node |
Constructor and Description |
---|
INodeFile(INodeFile that) |
INodeFileAttributes.SnapshotCopy(INodeFile file) |
INodeFileUnderConstruction(INodeFile that,
String clientName,
String clientMachine,
DatanodeDescriptor clientNode) |
Modifier and Type | Class and Description |
---|---|
class |
INodeFileUnderConstructionWithSnapshot
Represent an
INodeFileUnderConstruction that is snapshotted. |
class |
INodeFileWithSnapshot
Represent an
INodeFile that is snapshotted. |
Modifier and Type | Method and Description |
---|---|
INodeFile |
INodeFileUnderConstructionWithSnapshot.asINodeFile() |
INodeFile |
FileWithSnapshot.asINodeFile() |
INodeFile |
INodeFileWithSnapshot.asINodeFile() |
Modifier and Type | Method and Description |
---|---|
static void |
SnapshotFSImageFormat.saveFileDiffList(INodeFile file,
DataOutput out) |
Constructor and Description |
---|
INodeFileWithSnapshot(INodeFile f) |
INodeFileWithSnapshot(INodeFile f,
FileWithSnapshot.FileDiffList diffs) |
Copyright © 2013 Apache Software Foundation. All rights reserved.