Package | Description |
---|---|
org.apache.hadoop.hdfs.server.blockmanagement | |
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.snapshot |
Modifier and Type | Method and Description |
---|---|
boolean |
BlockManager.commitOrCompleteLastBlock(MutableBlockCollection bc,
Block commitBlock)
Commit the last block of the file and mark it as complete if it has
meets the minimum replication requirement
|
LocatedBlock |
BlockManager.convertLastBlockToUnderConstruction(MutableBlockCollection bc)
Convert the last block of the file to an under construction block.
|
BlockInfo |
BlockManager.forceCompleteBlock(MutableBlockCollection bc,
BlockInfoUnderConstruction block)
Force the given block in the given file to be marked as complete,
regardless of whether enough replicas are present.
|
Modifier and Type | Class and Description |
---|---|
class |
INodeFileUnderConstruction
I-node for file being written.
|
Modifier and Type | Class and Description |
---|---|
class |
INodeFileUnderConstructionWithSnapshot
Represent an
INodeFileUnderConstruction that is snapshotted. |
Copyright © 2013 Apache Software Foundation. All rights reserved.