Modifier and Type | Method and Description |
---|---|
static HdfsServerConstants.NamenodeRole |
PBHelper.convert(HdfsProtos.NamenodeRegistrationProto.NamenodeRoleProto role) |
Modifier and Type | Method and Description |
---|---|
static HdfsProtos.NamenodeRegistrationProto.NamenodeRoleProto |
PBHelper.convert(HdfsServerConstants.NamenodeRole role) |
Modifier and Type | Method and Description |
---|---|
HdfsServerConstants.NamenodeRole |
HdfsServerConstants.StartupOption.toNodeRole() |
static HdfsServerConstants.NamenodeRole |
HdfsServerConstants.NamenodeRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HdfsServerConstants.NamenodeRole[] |
HdfsServerConstants.NamenodeRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
protected HdfsServerConstants.NamenodeRole |
NameNode.role |
Modifier and Type | Method and Description |
---|---|
HdfsServerConstants.NamenodeRole |
NameNode.getRole() |
Constructor and Description |
---|
NameNode(Configuration conf,
HdfsServerConstants.NamenodeRole role) |
Modifier and Type | Method and Description |
---|---|
static NameNodeMetrics |
NameNodeMetrics.create(Configuration conf,
HdfsServerConstants.NamenodeRole r) |
Modifier and Type | Method and Description |
---|---|
HdfsServerConstants.NamenodeRole |
NamenodeRegistration.getRole()
Get name-node role.
|
Modifier and Type | Method and Description |
---|---|
boolean |
NamenodeRegistration.isRole(HdfsServerConstants.NamenodeRole that) |
Constructor and Description |
---|
NamenodeRegistration(String address,
String httpAddress,
StorageInfo storageInfo,
HdfsServerConstants.NamenodeRole role) |
Copyright © 2013 Apache Software Foundation. All rights reserved.