Package | Description |
---|---|
org.apache.hadoop.hdfs.protocol | |
org.apache.hadoop.hdfs.protocolPB |
Modifier and Type | Field and Description |
---|---|
protected DatanodeInfo.AdminStates |
DatanodeInfo.adminState |
Modifier and Type | Method and Description |
---|---|
static DatanodeInfo.AdminStates |
DatanodeInfo.AdminStates.fromValue(String value) |
DatanodeInfo.AdminStates |
DatanodeInfo.getAdminState()
Retrieves the admin state of this node.
|
static DatanodeInfo.AdminStates |
DatanodeInfo.AdminStates.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatanodeInfo.AdminStates[] |
DatanodeInfo.AdminStates.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DatanodeInfo.setAdminState(DatanodeInfo.AdminStates newState)
Sets the admin state of this node.
|
Constructor and Description |
---|
DatanodeInfo(DatanodeID nodeID,
String location,
long capacity,
long dfsUsed,
long remaining,
long blockPoolUsed,
long lastUpdate,
int xceiverCount,
DatanodeInfo.AdminStates adminState) |
DatanodeInfo(String ipAddr,
String hostName,
String storageID,
int xferPort,
int infoPort,
int infoSecurePort,
int ipcPort,
long capacity,
long dfsUsed,
long remaining,
long blockPoolUsed,
long lastUpdate,
int xceiverCount,
String networkLocation,
DatanodeInfo.AdminStates adminState)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static DatanodeInfo.AdminStates |
PBHelper.convert(HdfsProtos.DatanodeInfoProto.AdminState adminState) |
Modifier and Type | Method and Description |
---|---|
static HdfsProtos.DatanodeInfoProto.AdminState |
PBHelper.convert(DatanodeInfo.AdminStates inAs) |
Copyright © 2013 Apache Software Foundation. All rights reserved.