| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.protocolPB |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.hdfs.server.common | |
| org.apache.hadoop.hdfs.server.namenode | |
| org.apache.hadoop.hdfs.server.namenode.metrics | |
| org.apache.hadoop.hdfs.server.protocol |
| Modifier and Type | Method | Description |
|---|---|---|
static HdfsServerConstants.NamenodeRole |
PBHelper.convert(org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamenodeRegistrationProto.NamenodeRoleProto role) |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.hdfs.protocol.proto.HdfsServerProtos.NamenodeRegistrationProto.NamenodeRoleProto |
PBHelper.convert(HdfsServerConstants.NamenodeRole role) |
| Modifier and Type | Method | Description |
|---|---|---|
HdfsServerConstants.NamenodeRole |
HdfsServerConstants.StartupOption.toNodeRole() |
|
static HdfsServerConstants.NamenodeRole |
HdfsServerConstants.NamenodeRole.valueOf(java.lang.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 | Description |
|---|---|---|
protected HdfsServerConstants.NamenodeRole |
NameNode.role |
| Modifier and Type | Method | Description |
|---|---|---|
HdfsServerConstants.NamenodeRole |
NameNode.getRole() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
NameNode.composeNotStartedMessage(HdfsServerConstants.NamenodeRole role) |
|
static void |
NameNode.initMetrics(org.apache.hadoop.conf.Configuration conf,
HdfsServerConstants.NamenodeRole role) |
| Constructor | Description |
|---|---|
NameNode(org.apache.hadoop.conf.Configuration conf,
HdfsServerConstants.NamenodeRole role) |
| Modifier and Type | Method | Description |
|---|---|---|
static NameNodeMetrics |
NameNodeMetrics.create(org.apache.hadoop.conf.Configuration conf,
HdfsServerConstants.NamenodeRole r) |
| Modifier and Type | Method | Description |
|---|---|---|
HdfsServerConstants.NamenodeRole |
NamenodeRegistration.getRole() |
Get name-node role.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
NamenodeRegistration.isRole(HdfsServerConstants.NamenodeRole that) |
| Constructor | Description |
|---|---|
NamenodeRegistration(java.lang.String address,
java.lang.String httpAddress,
StorageInfo storageInfo,
HdfsServerConstants.NamenodeRole role) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.