Package | Description |
---|---|
org.apache.hadoop.hdfs.protocolPB | |
org.apache.hadoop.hdfs.server.common | |
org.apache.hadoop.hdfs.server.namenode.metrics |
Modifier and Type | Method and Description |
---|---|
static HdfsServerConstants.NamenodeRole |
PBHelper.convert(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamenodeRegistrationProto.NamenodeRoleProto role) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.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 | Method and Description |
---|---|
static NameNodeMetrics |
NameNodeMetrics.create(org.apache.hadoop.conf.Configuration conf,
HdfsServerConstants.NamenodeRole r) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.