Package | Description |
---|---|
org.apache.hadoop.hdfs.server.blockmanagement | |
org.apache.hadoop.hdfs.server.common |
Modifier and Type | Method and Description |
---|---|
HdfsServerConstants.BlockUCState |
BlockInfoUnderConstruction.getBlockUCState()
Return the state of the block under construction.
|
Constructor and Description |
---|
BlockInfoUnderConstruction(org.apache.hadoop.hdfs.protocol.Block blk,
int replication,
HdfsServerConstants.BlockUCState state,
DatanodeStorageInfo[] targets)
Create a block that is currently being constructed.
|
Modifier and Type | Method and Description |
---|---|
static HdfsServerConstants.BlockUCState |
HdfsServerConstants.BlockUCState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HdfsServerConstants.BlockUCState[] |
HdfsServerConstants.BlockUCState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2015 Apache Software Foundation. All Rights Reserved.